Fix the ^? for python 3.1
possibly lost keystrokes when there is lag, but who cares?
This commit is contained in:
parent
2a145abf9b
commit
97c66b42c3
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ def get_char_list_old(s):
|
|||
return [char]
|
||||
if first == 127 or first == 8:
|
||||
ret_list.append("KEY_BACKSPACE")
|
||||
break
|
||||
s.timeout(0) # we are now getting the missing utf-8 bytes to get a whole char
|
||||
if first < 127: # ASCII char on one byte
|
||||
if first <= 26: # transform Ctrl+* keys
|
||||
|
|
Loading…
Reference in a new issue