diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/menu.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -256,6 +256,13 @@ mf_menu(SDL_Renderer *renderer) switch (event.type) { case SDL_QUIT: goto quit; + case SDL_KEYDOWN: + switch (event.key.keysym.sym) { + case SDLK_ESCAPE: + goto quit; + default: + break; + } default: break; } |