commit 08b49534d5a0a384093d35fd383ec5d6e7cdb4c8
parent 57899550aa87f9cdf6c851fbdd0a59df5da7e4ea
Author: Brand Huntsman <alpha@qzx.com>
Date: Tue, 17 Oct 2017 15:21:02 -0600
bindings: allow exiting from the help viewer with F1, like with ^G
Signed-off-by: Brand Huntsman <alpha@qzx.com>
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/global.c b/src/global.c
@@ -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