]> Git Repo - qemu.git/commit
ui/curses: Fix pageup/pagedown on -curses
authorOGAWA Hirofumi <[email protected]>
Mon, 19 Oct 2015 12:24:07 +0000 (21:24 +0900)
committerGerd Hoffmann <[email protected]>
Tue, 3 Nov 2015 09:12:46 +0000 (10:12 +0100)
commite72df72a558cc189bb8681df8059b3a8cff281fc
treeabfb066cb4ccd1a20770e1b5e1c875479c175370
parente2368dc9684ae5cec2f0558be4803901a0b58b7b
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 <[email protected]>
Signed-off-by: Gerd Hoffmann <[email protected]>
ui/curses_keys.h
This page took 0.025745 seconds and 4 git commands to generate.