From cae7ccf1320eb41de9d5b708c191d5e827bc9cd9 Mon Sep 17 00:00:00 2001 From: mathieui Date: Tue, 18 Dec 2012 13:01:42 +0100 Subject: [PATCH] try to fix the ^? issue --- src/keyboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'