From 77cb245fee6b32320f16cd923998cb3c1026c182 Mon Sep 17 00:00:00 2001 From: thefish Date: Fri, 8 Nov 2019 22:09:46 +0300 Subject: [PATCH] menu --- engine/screens/menu.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engine/screens/menu.go b/engine/screens/menu.go index 41c79b5..257f1f1 100644 --- a/engine/screens/menu.go +++ b/engine/screens/menu.go @@ -67,6 +67,8 @@ func (ms *MenuScreen) HandleInput(input string) { //} switch input { + case "Escape": + fallthrough case "Space": ms.scm.SetScreen(ms.scm.PreviousScreen) break