From a6699a1404b13209f13c272f065037939edcfc64 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Tue, 9 Oct 2012 06:03:02 +0000 Subject: Transform a char (\xf1) into what we meant (Ctrl+/, apparently). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If we try to send that, we get disconnected… --- src/core.py | 3 +++ 1 file changed, 3 insertions(+) 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: -- cgit v1.2.3