From dec1a44caf9bfca20cba3db30ac4d3b39cb7006d Mon Sep 17 00:00:00 2001 From: John Zaitseff Date: Fri, 15 Jul 2011 21:45:23 +1000 Subject: [PATCH] Add key presses to show_help() and get_move() to be more consistent --- src/game.c | 2 ++ src/help.c | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/game.c b/src/game.c index 11e72a7..21b1e91 100644 --- a/src/game.c +++ b/src/game.c @@ -989,7 +989,9 @@ void get_move (void) break; case KEY_ESC: + case KEY_CANCEL: case KEY_CTRL('C'): + case KEY_CTRL('G'): case KEY_CTRL('\\'): selection = SEL_QUIT; diff --git a/src/help.c b/src/help.c index 58107a5..1f262bf 100644 --- a/src/help.c +++ b/src/help.c @@ -349,9 +349,11 @@ void show_help (void) } break; - case KEY_CANCEL: - case KEY_CTRL('G'): case KEY_ESC: + case KEY_CANCEL: + case KEY_CTRL('C'): + case KEY_CTRL('G'): + case KEY_CTRL('\\'): done = true; break;