diff options
Diffstat (limited to 'src/win/tty.c')
-rw-r--r-- | src/win/tty.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/win/tty.c b/src/win/tty.c index f38e9a8..a98fe26 100644 --- a/src/win/tty.c +++ b/src/win/tty.c @@ -736,8 +736,8 @@ void uv_process_tty_read_raw_req(uv_loop_t* loop, uv_tty_t* handle, /* Ignore keyup events, unless the left alt key was held and a valid * unicode character was emitted. */ if (!KEV.bKeyDown && - KEV.wVirtualKeyCode != VK_MENU && - KEV.uChar.UnicodeChar != 0) { + (KEV.wVirtualKeyCode != VK_MENU || + KEV.uChar.UnicodeChar == 0)) { continue; } |