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);
|
kbdputc(kbdq, Kins);
|
||||||
break;
|
break;
|
||||||
case VK_DELETE:
|
case VK_DELETE:
|
||||||
// kbdputc(kbdq, Kdel);
|
kbdputc(kbdq, Kdel);
|
||||||
kbdputc(kbdq, 0x7f); // should have Kdel in keyboard.h
|
|
||||||
break;
|
break;
|
||||||
case VK_UP:
|
case VK_UP:
|
||||||
kbdputc(kbdq, Kup);
|
kbdputc(kbdq, Kup);
|
||||||
|
|
|
@ -23,6 +23,7 @@ extern void closekeyboard(Keyboardctl*);
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
KF= 0xF000, /* Rune: beginning of private Unicode space */
|
KF= 0xF000, /* Rune: beginning of private Unicode space */
|
||||||
|
Kdel= 0x7F,
|
||||||
Spec= 0xF800,
|
Spec= 0xF800,
|
||||||
/* KF|1, KF|2, ..., KF|0xC is F1, F2, ..., F12 */
|
/* KF|1, KF|2, ..., KF|0xC is F1, F2, ..., F12 */
|
||||||
Khome= KF|0x0D,
|
Khome= KF|0x0D,
|
||||||
|
|
Loading…
Reference in New Issue