From f722f247fcd2d53c346cc99bba15c0d20a16c652 Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Sat, 12 Apr 2014 23:20:53 +0300 Subject: [PATCH] Xterm does not feed S+pgup/pgdown but does so for Ctrl combination --- lib/draw/curses.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/draw/curses.c b/lib/draw/curses.c index 3d7871e..17089af 100644 --- a/lib/draw/curses.c +++ b/lib/draw/curses.c @@ -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;