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>
master
Benno Schulenberg 2018-11-07 18:00:10 +01:00
parent cc01bc3edb
commit 03d10941cc
2 changed files with 2 additions and 0 deletions

View File

@ -465,6 +465,7 @@ functionptrtype parse_browser_input(int *kbinput)
case ' ': case ' ':
return do_page_down; return do_page_down;
case '-': case '-':
case DEL_CODE:
return do_page_up; return do_page_up;
case '?': case '?':
return do_help_void; return do_help_void;

View File

@ -570,6 +570,7 @@ functionptrtype parse_help_input(int *kbinput)
case ' ': case ' ':
return do_page_down; return do_page_down;
case '-': case '-':
case DEL_CODE:
return do_page_up; return do_page_up;
case 'W': case 'W':
case 'w': case 'w':