summaryrefslogtreecommitdiff
path: root/src/keyboard.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/keyboard.py')
-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'