commit 03d10941cc43647cd19a37e11f19f7cbce261f2c
parent cc01bc3edb4fe7d041a76a7abdc2497792784b4d
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Wed, 7 Nov 2018 18:00:10 +0100
bindings: recognize ASCII DEL as backspace also in viewer and browser
This completes the fix for https://savannah.gnu.org/bugs/?54978.
Reported-by: David Lawrence Ramsey <pooka109@gmail.com>
Diffstat:
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/browser.c b/src/browser.c
@@ -465,6 +465,7 @@ functionptrtype parse_browser_input(int *kbinput)
case ' ':
return do_page_down;
case '-':
+ case DEL_CODE:
return do_page_up;
case '?':
return do_help_void;
diff --git a/src/help.c b/src/help.c
@@ -570,6 +570,7 @@ functionptrtype parse_help_input(int *kbinput)
case ' ':
return do_page_down;
case '-':
+ case DEL_CODE:
return do_page_up;
case 'W':
case 'w':