mirror of https://github.com/0intro/conterm
gui-win32: define Kdel in keyboard.h (thanks hiro)
This commit is contained in:
parent
49233b059e
commit
965baf3dce
|
@ -414,8 +414,7 @@ WindowProc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam)
|
|||
kbdputc(kbdq, Kins);
|
||||
break;
|
||||
case VK_DELETE:
|
||||
// kbdputc(kbdq, Kdel);
|
||||
kbdputc(kbdq, 0x7f); // should have Kdel in keyboard.h
|
||||
kbdputc(kbdq, Kdel);
|
||||
break;
|
||||
case VK_UP:
|
||||
kbdputc(kbdq, Kup);
|
||||
|
|
|
@ -23,6 +23,7 @@ extern void closekeyboard(Keyboardctl*);
|
|||
|
||||
enum {
|
||||
KF= 0xF000, /* Rune: beginning of private Unicode space */
|
||||
Kdel= 0x7F,
|
||||
Spec= 0xF800,
|
||||
/* KF|1, KF|2, ..., KF|0xC is F1, F2, ..., F12 */
|
||||
Khome= KF|0x0D,
|
||||
|
|
Loading…
Reference in New Issue