test BlockDelay effect

This commit is contained in:
cuu
2018-06-19 15:23:59 +08:00
parent 238e250499
commit 01237d9f65
4 changed files with 5 additions and 4 deletions

View File

@@ -56,10 +56,9 @@ func run() int {
}
if ev.Type == event.USEREVENT {
fmt.Println(ev.Data["Msg"])
fmt.Println("UserEvent: ",ev.Data["Msg"])
}
if ev.Type == event.KEYDOWN {
fmt.Println(ev)
if ev.Data["Key"] == "Q" {
main_screen.OnExitCb()
return 0