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
|
pass
|
||||||
else:
|
else:
|
||||||
key = '%s-%s' % (key, part)
|
key = '%s-%s' % (key, part)
|
||||||
if key == '\x7f':
|
if key == '\x7f' or key == '\x08':
|
||||||
key = '^?'
|
key = '^?'
|
||||||
elif key == '\r':
|
elif key == '\r':
|
||||||
key = '^M'
|
key = '^M'
|
||||||
|
|
Loading…
Reference in a new issue