mirror of
https://github.com/0intro/conterm
synced 2024-11-21 21:31:23 +03:00
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:
|
case VK_DELETE:
|
||||||
kbdputc(kbdq, Kdel);
|
kbdputc(kbdq, Kdel);
|
||||||
break;
|
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:
|
case VK_UP:
|
||||||
kbdputc(kbdq, Kup);
|
kbdputc(kbdq, Kup);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user