diff options
author | Bartosz Sosnowski <bartosz@janeasystems.com> | 2018-12-12 12:40:43 +0100 |
---|---|---|
committer | Bartosz Sosnowski <bartosz@janeasystems.com> | 2019-01-03 12:30:57 +0100 |
commit | d2e59bb6003d707bdebd7a381f5a7e1d0cc3fd3b (patch) | |
tree | a4ad964633e6299dbcb2773e619b835bdfe0d395 /docs/src | |
parent | c560cf931c7cace803708f8fc03c3cb6c9edbcf4 (diff) | |
download | libuv-d2e59bb6003d707bdebd7a381f5a7e1d0cc3fd3b.tar.gz libuv-d2e59bb6003d707bdebd7a381f5a7e1d0cc3fd3b.zip |
tty,win: fix Alt+key under WSL
When releasing key with Alt pressed, the reported event has
LEFT_ALT_PRESSED state flag set. This confuses libuv, making it think
that Alt+numpad combination is used. This fixes this issue by removing
the check for state flag. Checking if VirtuakKeyCode is set to VK_MENU
is enough to detect the Alt+numpad case.
Fixes: https://github.com/libuv/libuv/issues/2111
PR-URL: https://github.com/libuv/libuv/pull/2114
Reviewed-By: Refael Ackermann <refack@gmail.com>
Diffstat (limited to 'docs/src')
0 files changed, 0 insertions, 0 deletions