diff options
author | mathieui <mathieui@mathieui.net> | 2012-12-18 13:01:42 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2012-12-18 13:02:21 +0100 |
commit | cae7ccf1320eb41de9d5b708c191d5e827bc9cd9 (patch) | |
tree | b6d9170f0a8aa5f4c568ed53f50704575df32222 /src/keyboard.py | |
parent | b0e9e0919f448629d2682f1e9b5970940a2af736 (diff) | |
download | poezio-cae7ccf1320eb41de9d5b708c191d5e827bc9cd9.tar.gz poezio-cae7ccf1320eb41de9d5b708c191d5e827bc9cd9.tar.bz2 poezio-cae7ccf1320eb41de9d5b708c191d5e827bc9cd9.tar.xz poezio-cae7ccf1320eb41de9d5b708c191d5e827bc9cd9.zip |
try to fix the ^? issue
Diffstat (limited to 'src/keyboard.py')
-rw-r--r-- | src/keyboard.py | 2 |
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' |