summaryrefslogtreecommitdiff
path: root/test/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/main.go')
-rw-r--r--test/main.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/main.go b/test/main.go
index 1c8f948..9df9c13 100644
--- a/test/main.go
+++ b/test/main.go
@@ -282,6 +282,9 @@ _=curtime
case <-w.Closing:
println("window closed event received")
break mainloop
+ case <-AppQuit:
+ println("application quit event received")
+ break mainloop
case <-b.Clicked:
w.SetTitle(fmt.Sprintf("%v | %s | %s | %s | %s",
c.Checked(),