mirror of
git://git.sv.gnu.org/nano.git
synced 2025-02-17 05:44:20 +03:00
bindings: allow exiting from the help viewer with F1, like with ^G
Signed-off-by: Brand Huntsman <alpha@qzx.com>
This commit is contained in:
parent
57899550aa
commit
08b49534d5
@ -1344,6 +1344,7 @@ void shortcut_init(void)
|
||||
#endif
|
||||
#ifdef ENABLE_HELP
|
||||
add_to_sclist(MHELP, "^G", 0, do_exit, 0);
|
||||
add_to_sclist(MHELP, "F1", 0, do_exit, 0);
|
||||
add_to_sclist(MHELP, "Home", KEY_HOME, do_first_line, 0);
|
||||
add_to_sclist(MHELP, "End", KEY_END, do_last_line, 0);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user