mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-25 09:37:37 +00:00
urwid windows: use utf8
This commit is contained in:
parent
3387dac679
commit
6c4b3954aa
@ -1168,7 +1168,7 @@ class ReadInputThread(threading.Thread):
|
||||
if inp.EventType == win32.EventType.KEY_EVENT:
|
||||
if not inp.Event.KeyEvent.bKeyDown:
|
||||
continue
|
||||
self._input.send(inp.Event.KeyEvent.uChar.AsciiChar)
|
||||
self._input.send(inp.Event.KeyEvent.uChar.UnicodeChar.encode("utf8"))
|
||||
elif inp.EventType == win32.EventType.WINDOW_BUFFER_SIZE_EVENT:
|
||||
self._resize()
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user