bindings: accept "q" and "x" to exit from help viewer and file browser

"Q" is a pretty standard key to exit from something, and "X" is fairly
mnemonic -- better than "E" at least.
master
Benno Schulenberg 2017-03-23 12:42:53 +01:00
parent c01d6a8f74
commit 9e7e88e157
2 changed files with 8 additions and 0 deletions

View File

@ -467,6 +467,10 @@ functionptrtype parse_browser_input(int *kbinput)
return do_help_void;
case 'E':
case 'e':
case 'Q':
case 'q':
case 'X':
case 'x':
return do_exit;
case 'G':
case 'g':

View File

@ -486,6 +486,10 @@ functionptrtype parse_help_input(int *kbinput)
return do_page_up;
case 'E':
case 'e':
case 'Q':
case 'q':
case 'X':
case 'x':
return do_exit;
}
}