diff options
| author | OGAWA Hirofumi | 2015-10-19 14:24:07 +0200 |
|---|---|---|
| committer | Gerd Hoffmann | 2015-11-03 10:12:46 +0100 |
| commit | e72df72a558cc189bb8681df8059b3a8cff281fc (patch) | |
| tree | abfb066cb4ccd1a20770e1b5e1c875479c175370 /main-loop.c | |
| parent | ui/curses: Support line graphics chars on -curses mode (diff) | |
| download | qemu-e72df72a558cc189bb8681df8059b3a8cff281fc.tar.gz qemu-e72df72a558cc189bb8681df8059b3a8cff281fc.tar.xz qemu-e72df72a558cc189bb8681df8059b3a8cff281fc.zip | |
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>
Diffstat (limited to 'main-loop.c')
0 files changed, 0 insertions, 0 deletions
