Fix #5016
This commit is contained in:
parent
8e98fcf2f6
commit
ee94114eb2
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ def print_key(raw: bytearray) -> None:
|
|||
unix += chr(ch)
|
||||
print(unix + '\t\t', end='')
|
||||
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(end='\r\n', flush=True)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue