add Menu key to quit

This commit is contained in:
cuu 2018-06-11 13:40:28 +08:00
parent 9b7914e06e
commit 7b0b08324c

View File

@ -96,6 +96,9 @@ func run() int {
if ev.Data["Key"] == "Q" {
return 0
}
if ev.Data["Key"] == "Escape" {
return 0
}
}
}