aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--win32/termios.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/win32/termios.c b/win32/termios.c
index 283e88b3a..e2dc96361 100644
--- a/win32/termios.c
+++ b/win32/termios.c
@@ -33,6 +33,7 @@ int64_t FAST_FUNC read_key(int fd, char *buf, int timeout UNUSED_PARAM)
33 DWORD state = record.Event.KeyEvent.dwControlKeyState; 33 DWORD state = record.Event.KeyEvent.dwControlKeyState;
34 switch (record.Event.KeyEvent.wVirtualKeyCode) { 34 switch (record.Event.KeyEvent.wVirtualKeyCode) {
35 case VK_DELETE: return KEYCODE_DELETE; 35 case VK_DELETE: return KEYCODE_DELETE;
36 case VK_INSERT: return KEYCODE_INSERT;
36 case VK_UP: return KEYCODE_UP; 37 case VK_UP: return KEYCODE_UP;
37 case VK_DOWN: return KEYCODE_DOWN; 38 case VK_DOWN: return KEYCODE_DOWN;
38 case VK_RIGHT: 39 case VK_RIGHT:
@@ -45,6 +46,8 @@ int64_t FAST_FUNC read_key(int fd, char *buf, int timeout UNUSED_PARAM)
45 return KEYCODE_LEFT; 46 return KEYCODE_LEFT;
46 case VK_HOME: return KEYCODE_HOME; 47 case VK_HOME: return KEYCODE_HOME;
47 case VK_END: return KEYCODE_END; 48 case VK_END: return KEYCODE_END;
49 case VK_PRIOR: return KEYCODE_PAGEUP;
50 case VK_NEXT: return KEYCODE_PAGEDOWN;
48 case VK_CAPITAL: 51 case VK_CAPITAL:
49 case VK_SHIFT: 52 case VK_SHIFT:
50 case VK_CONTROL: 53 case VK_CONTROL: