browser, help: make <Bsp> page up also when terminfo mismatches terminal

master
Benno Schulenberg 2018-12-23 19:22:53 +01:00
parent 0946153b47
commit 72a49dbbb4
2 changed files with 2 additions and 0 deletions

View File

@ -462,6 +462,7 @@ functionptrtype parse_browser_input(int *kbinput)
{ {
if (!meta_key) { if (!meta_key) {
switch (*kbinput) { switch (*kbinput) {
case BS_CODE:
case '-': case '-':
return do_page_up; return do_page_up;
case ' ': case ' ':

View File

@ -567,6 +567,7 @@ functionptrtype parse_help_input(int *kbinput)
{ {
if (!meta_key) { if (!meta_key) {
switch (*kbinput) { switch (*kbinput) {
case BS_CODE:
case '-': case '-':
return do_page_up; return do_page_up;
case ' ': case ' ':