Transform a char (\xf1) into what we meant (Ctrl+/, apparently).

If we try to send that, we get disconnected…
This commit is contained in:
Florent Le Coz 2012-10-09 06:03:02 +00:00
parent b50acaae0b
commit a6699a1404

View file

@ -376,6 +376,9 @@ class Core(object):
current = [] current = []
for char in char_list: for char in char_list:
assert(len(char) > 0) assert(len(char) > 0)
# Transform that stupid char into what we actually meant
if char == '\x1f':
char = '^/'
if len(char) == 1: if len(char) == 1:
current.append(char) current.append(char)
else: else: