try to fix the ^? issue
This commit is contained in:
parent
b0e9e0919f
commit
cae7ccf132
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ def get_char_list_new(s):
|
|||
pass
|
||||
else:
|
||||
key = '%s-%s' % (key, part)
|
||||
if key == '\x7f':
|
||||
if key == '\x7f' or key == '\x08':
|
||||
key = '^?'
|
||||
elif key == '\r':
|
||||
key = '^M'
|
||||
|
|
Loading…
Reference in a new issue