summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-04-10 17:02:48 +0200
committerFlorent Le Coz <louiz@louiz.org>2011-04-10 17:02:48 +0200
commitf414f341a40c622365f127ef27c7e8f19b6fc47a (patch)
treedbcedaeadaa52545a2875a32db11b19fdbe9f2e2
parent737bbbface3998ac9b97948e6ae16ab90a1130d2 (diff)
downloadpoezio-f414f341a40c622365f127ef27c7e8f19b6fc47a.tar.gz
poezio-f414f341a40c622365f127ef27c7e8f19b6fc47a.tar.bz2
poezio-f414f341a40c622365f127ef27c7e8f19b6fc47a.tar.xz
poezio-f414f341a40c622365f127ef27c7e8f19b6fc47a.zip
Remove the bugged handling of :ctrl+arrows
-rw-r--r--src/keyboard.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/keyboard.py b/src/keyboard.py
index 8688d439..4ee620d4 100644
--- a/src/keyboard.py
+++ b/src/keyboard.py
@@ -66,9 +66,6 @@ def read_char(s):
if first == 27:
second = read_char(s)
res = 'M-%s' % (second,)
- if second == '[':
- for i in range(4):
- res += read_char(s)
return res
if 194 <= first:
(code, c) = get_next_byte(s) # 2 bytes char