aboutsummaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authorBartosz Sosnowski <bartosz@janeasystems.com>2018-12-12 12:40:43 +0100
committerBartosz Sosnowski <bartosz@janeasystems.com>2019-01-03 12:30:57 +0100
commitd2e59bb6003d707bdebd7a381f5a7e1d0cc3fd3b (patch)
treea4ad964633e6299dbcb2773e619b835bdfe0d395 /docs/src
parentc560cf931c7cace803708f8fc03c3cb6c9edbcf4 (diff)
downloadlibuv-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