summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-12-18 13:01:42 +0100
committermathieui <mathieui@mathieui.net>2012-12-18 13:02:21 +0100
commitcae7ccf1320eb41de9d5b708c191d5e827bc9cd9 (patch)
treeb6d9170f0a8aa5f4c568ed53f50704575df32222 /src
parentb0e9e0919f448629d2682f1e9b5970940a2af736 (diff)
downloadpoezio-cae7ccf1320eb41de9d5b708c191d5e827bc9cd9.tar.gz
poezio-cae7ccf1320eb41de9d5b708c191d5e827bc9cd9.tar.bz2
poezio-cae7ccf1320eb41de9d5b708c191d5e827bc9cd9.tar.xz
poezio-cae7ccf1320eb41de9d5b708c191d5e827bc9cd9.zip
try to fix the ^? issue
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keyboard.py b/src/keyboard.py
index 07963912..2ad30dc5 100644
--- a/src/keyboard.py
+++ b/src/keyboard.py
@@ -115,7 +115,7 @@ def get_char_list_new(s):
pass
else:
key = '%s-%s' % (key, part)
- if key == '\x7f':
+ if key == '\x7f' or key == '\x08':
key = '^?'
elif key == '\r':
key = '^M'