diff --git a/test.go b/test.go index 0542ea8..68ed0d3 100644 --- a/test.go +++ b/test.go @@ -96,6 +96,9 @@ func run() int { if ev.Data["Key"] == "Q" { return 0 } + if ev.Data["Key"] == "Escape" { + return 0 + } } }