diff options
author | Florent Le Coz <louiz@louiz.org> | 2012-10-09 06:03:02 +0000 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2012-10-09 06:07:28 +0000 |
commit | a6699a1404b13209f13c272f065037939edcfc64 (patch) | |
tree | c45712935e79051f7426dd3fb9fee5e8f107554a /src | |
parent | b50acaae0b4499aec0d06f91739d23e6aa212156 (diff) | |
download | poezio-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…
Diffstat (limited to 'src')
-rw-r--r-- | src/core.py | 3 |
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: |