Fix #5016
This commit is contained in:
parent
8e98fcf2f6
commit
ee94114eb2
@ -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)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user