Xterm does not feed S+pgup/pgdown but does so for Ctrl combination

This commit is contained in:
Jari Vetoniemi 2014-04-12 23:20:53 +03:00
parent 994d6074bc
commit f722f247fc

View File

@ -272,9 +272,11 @@ static bmKey _bmDrawCursesGetKey(unsigned int *unicode)
case KEY_NPAGE: /* Page down */
return BM_KEY_PAGE_DOWN;
case 550: /* C-Page up */
case 398: /* S-Page up */
return BM_KEY_SHIFT_PAGE_UP;
case 545: /* C-Page down */
case 396: /* S-Page down */
return BM_KEY_SHIFT_PAGE_DOWN;