Commit 9e7e88e1 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

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.
No related merge requests found
Showing with 8 additions and 0 deletions
+8 -0
......@@ -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':
......
......@@ -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;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment