mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 14:18:26 +02:00
Fix #5016
This commit is contained in:
@@ -24,7 +24,7 @@ def print_key(raw: bytearray) -> None:
|
|||||||
unix += chr(ch)
|
unix += chr(ch)
|
||||||
print(unix + '\t\t', end='')
|
print(unix + '\t\t', end='')
|
||||||
for ch in raw:
|
for ch in raw:
|
||||||
x = chr(ch).encode('ascii')
|
x = chr(ch).encode('utf-8')
|
||||||
print(styled(repr(x)[2:-1], fg='yellow'), end='')
|
print(styled(repr(x)[2:-1], fg='yellow'), end='')
|
||||||
print(end='\r\n', flush=True)
|
print(end='\r\n', flush=True)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user