summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2012-10-09 06:03:02 +0000
committerFlorent Le Coz <louiz@louiz.org>2012-10-09 06:07:28 +0000
commita6699a1404b13209f13c272f065037939edcfc64 (patch)
treec45712935e79051f7426dd3fb9fee5e8f107554a
parentb50acaae0b4499aec0d06f91739d23e6aa212156 (diff)
downloadpoezio-a6699a1404b13209f13c272f065037939edcfc64.tar.gz
poezio-a6699a1404b13209f13c272f065037939edcfc64.tar.bz2
poezio-a6699a1404b13209f13c272f065037939edcfc64.tar.xz
poezio-a6699a1404b13209f13c272f065037939edcfc64.zip
Transform a char (\xf1) into what we meant (Ctrl+/, apparently).
If we try to send that, we get disconnected…
-rw-r--r--src/core.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core.py b/src/core.py
index 439fa219..71e66175 100644
--- a/src/core.py
+++ b/src/core.py
@@ -376,6 +376,9 @@ class Core(object):
current = []
for char in char_list:
assert(len(char) > 0)
+ # Transform that stupid char into what we actually meant
+ if char == '\x1f':
+ char = '^/'
if len(char) == 1:
current.append(char)
else: