1
0
mirror of https://git.zap.org.au/git/trader.git synced 2024-12-04 14:46:45 -05:00

Add key presses to show_help() and get_move() to be more consistent

This commit is contained in:
John Zaitseff 2011-07-15 21:45:23 +10:00
parent b39a1a7567
commit dec1a44caf
2 changed files with 6 additions and 2 deletions

View File

@ -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;

View File

@ -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;