diff options
-rw-r--r-- | intro_gui.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/intro_gui.c b/intro_gui.c index 41cf45994..f53ab4145 100644 --- a/intro_gui.c +++ b/intro_gui.c @@ -210,6 +210,10 @@ static void AskAbandonGameWndProc(Window *w, WindowEvent *e) { break; } break; + case WE_KEYPRESS: /* Exit game on pressing 'Enter' */ + if (e->keypress.keycode == WKC_RETURN) + _exit_game = true; + break; } } |