nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit bab5eeb808afb9c5f9132b413dd1b5e70b01ab58
parent d342cbbff85464cc4dc3e1f9a5f594f36c145e95
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sun, 21 Oct 2018 16:44:14 +0200

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

Understand the key as: "Enter into editing mode on the current line".

Diffstat:
Msrc/text.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/text.c b/src/text.c @@ -3273,7 +3273,7 @@ void do_linter(void) func = func_from_key(&kbinput); tmplint = curlint; - if (func == do_cancel) + if (func == do_cancel || func == do_enter) break; else if (func == do_help_void) { tmplint = NULL;