commit | e72df72a558cc189bb8681df8059b3a8cff281fc | [log] [tgz] |
---|---|---|
author | OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> | Mon Oct 19 21:24:07 2015 +0900 |
committer | Gerd Hoffmann <kraxel@redhat.com> | Tue Nov 03 10:12:46 2015 +0100 |
tree | abfb066cb4ccd1a20770e1b5e1c875479c175370 | |
parent | e2368dc9684ae5cec2f0558be4803901a0b58b7b [diff] |
ui/curses: Fix pageup/pagedown on -curses Current KEY_NPAGE/KEY_PPAGE handling is broken on -curses. Those uses "GREY", but "KEY_MASK" masked out "GREY". To fix, we have to use correct mask value - SCANCODE_KEYMASK. Then, this adds support of "shift + pageup/pagedown". With this, -curses mode can use scroll-up/down as usual like other display modes. Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>