eliminate magic number
This commit is contained in:
parent
81e7573a64
commit
28030f7b54
Notes:
git
2022-09-09 00:46:31 +09:00
|
@ -3106,7 +3106,7 @@ is_readable_console(SOCKET sock) /* call this for console only */
|
||||||
ret = 1;
|
ret = 1;
|
||||||
}
|
}
|
||||||
else if (ir.EventType == KEY_EVENT && !ir.Event.KeyEvent.bKeyDown &&
|
else if (ir.EventType == KEY_EVENT && !ir.Event.KeyEvent.bKeyDown &&
|
||||||
ir.Event.KeyEvent.wVirtualKeyCode == 18 /* VK_MENU */ &&
|
ir.Event.KeyEvent.wVirtualKeyCode == VK_MENU /* ALT key */ &&
|
||||||
ir.Event.KeyEvent.uChar.UnicodeChar) {
|
ir.Event.KeyEvent.uChar.UnicodeChar) {
|
||||||
ret = 1;
|
ret = 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue