fixed #1825
This commit is contained in:
parent
22e05a229a
commit
92d155acf5
1 changed files with 2 additions and 2 deletions
|
@ -51,8 +51,8 @@ def read_char(s):
|
|||
return "^"+chr(first + 64)
|
||||
if first == 27:
|
||||
(first, c) = get_next_byte(s)
|
||||
if not isinstance(first, int): # Keyboard special, like KEY_HOME etc
|
||||
return char
|
||||
if not isinstance(first, int):
|
||||
return None
|
||||
return "M-"+chr(first)
|
||||
if 194 <= first:
|
||||
(code, c) = get_next_byte(s) # 2 bytes char
|
||||
|
|
Loading…
Reference in a new issue