nano

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

commit ff0e01a69e6e21579c8d84906f9dfc0dc144e08e
parent 72b13adeff680332cdbf4964373e72aa496d7fea
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sat,  5 Oct 2019 12:39:03 +0200

bindings: don't hard-bind ^H in the help viewer or the file browser

Hard-binding the ^H control code prevents the user from rebinding
the keystroke.

This fixes https://savannah.gnu.org/bugs/?56995.

Bug existed since version 4.0, commit 72a49dbb.

Diffstat:
Msrc/browser.c | 1-
Msrc/help.c | 1-
2 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/browser.c b/src/browser.c @@ -453,7 +453,6 @@ functionptrtype parse_browser_input(int *kbinput) { if (!meta_key) { switch (*kbinput) { - case BS_CODE: case '-': return do_page_up; case ' ': diff --git a/src/help.c b/src/help.c @@ -547,7 +547,6 @@ functionptrtype parse_help_input(int *kbinput) { if (!meta_key) { switch (*kbinput) { - case BS_CODE: case '-': return do_page_up; case ' ':