bindings: allow using <Enter> to exit from the linter

Understand the key as: "Enter into editing mode on the current line".
master
Benno Schulenberg 2018-10-21 16:44:14 +02:00
parent d342cbbff8
commit bab5eeb808
1 changed files with 1 additions and 1 deletions

View File

@ -3273,7 +3273,7 @@ void do_linter(void)
func = func_from_key(&kbinput); func = func_from_key(&kbinput);
tmplint = curlint; tmplint = curlint;
if (func == do_cancel) if (func == do_cancel || func == do_enter)
break; break;
else if (func == do_help_void) { else if (func == do_help_void) {
tmplint = NULL; tmplint = NULL;