1
0
mirror of https://github.com/nvbn/thefuck.git synced 2024-10-05 18:31:10 +01:00
thefuck/thefuck/system
Matt Kotsenas a6bb41e802 Fix Win32 get_key (#819)
PR #711 moved the arrow and cancel key codes to `const.py`. However, the
move also changed the codes from byte arrays to strings, which broke the
use of `msvcrt.getch()` for Windows.

The fix is to use `msvcrt.getwch()` so the key is a Unicode character,
matching the Unix implementation.
2018-07-10 00:46:57 +02:00
..
__init__.py Ignore flake8 errors with inline comments: F401,F403 2016-10-06 15:31:55 -04:00
unix.py #711: Handle ctrl+n and ctrl+p 2017-10-16 19:19:29 +02:00
win32.py Fix Win32 get_key (#819) 2018-07-10 00:46:57 +02:00