#414: Install and use win_unicode_console only on windows

This commit is contained in:
nvbn
2015-12-01 20:15:27 +08:00
parent f9aa0e7c6b
commit 0560f4ba8e
3 changed files with 15 additions and 6 deletions
+1
View File
@@ -7,6 +7,7 @@ from . import logs
try:
import msvcrt
def getch():
ch = msvcrt.getch()
if ch in (b'\x00', b'\xe0'): # arrow or function key prefix?