From d52a1a9102a4236dfbc7c95b3c7057f107dbf71d Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Wed, 26 Jul 2017 17:29:14 +0200 Subject: ui: add next and prior keysyms Page-up and Page-down were renamed. Add the names to the keysym list so we can parse both old and new names. The keypad versions are already present in the vnc map. Signed-off-by: Gerd Hoffmann Reviewed-by: Eric Blake Message-id: 20170726152918.11995-2-kraxel@redhat.com --- ui/curses_keys.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ui/curses_keys.h') diff --git a/ui/curses_keys.h b/ui/curses_keys.h index e39ef9e718..e9195a1671 100644 --- a/ui/curses_keys.h +++ b/ui/curses_keys.h @@ -480,7 +480,9 @@ static const name2keysym_t name2keysym[] = { { "Left", KEY_LEFT }, { "Up", KEY_UP }, { "Down", KEY_DOWN }, + { "Next", KEY_NPAGE }, { "Page_Down", KEY_NPAGE }, + { "Prior", KEY_PPAGE }, { "Page_Up", KEY_PPAGE }, { "Insert", KEY_IC }, { "Delete", KEY_DC }, -- cgit v1.2.1