bindings: allow using ^X to exit from the linter

One can use ^X to exit from the file browser and from the help viewer,
so...  For symmetry.
master
Benno Schulenberg 2018-09-24 21:29:44 +02:00
parent 4b32c62674
commit f4c958e810
1 changed files with 3 additions and 0 deletions

View File

@ -1350,6 +1350,9 @@ void shortcut_init(void)
add_to_sclist(MHELP, "Home", KEY_HOME, to_first_line, 0);
add_to_sclist(MHELP, "End", KEY_END, to_last_line, 0);
#endif
#ifdef ENABLE_COLOR
add_to_sclist(MLINTER, "^X", 0, do_cancel, 0);
#endif
#ifdef DEBUG
print_sclist();