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:
parent
b39a1a7567
commit
dec1a44caf
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user