From 23d9a2478895b6e2cf99270a7c16c5b8080ba11e Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Fri, 20 Nov 2015 09:44:56 +0100 Subject: [PATCH] gui-win32: handle Khome, Kend, Kpgup and Kpgdown (thanks hiro) --- gui-win32/screen.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/gui-win32/screen.c b/gui-win32/screen.c index 1d17967..a4f2fbf 100644 --- a/gui-win32/screen.c +++ b/gui-win32/screen.c @@ -416,6 +416,18 @@ WindowProc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) case VK_DELETE: kbdputc(kbdq, Kdel); break; + case VK_HOME: + kbdputc(kbdq, Khome); + break; + case VK_END: + kbdputc(kbdq, Kend); + break; + case VK_PRIOR: + kbdputc(kbdq, Kpgup); + break; + case VK_NEXT: + kbdputc(kbdq, Kpgdown); + break; case VK_UP: kbdputc(kbdq, Kup); break;