mirror of https://github.com/0intro/conterm
gui-win32: handle Khome, Kend, Kpgup and Kpgdown (thanks hiro)
This commit is contained in:
parent
965baf3dce
commit
23d9a24788
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue