summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-09-03 19:05:19 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-09-03 19:05:19 +0000
commit27b5bcfe5ecff6ba0c9a04f9e76ebe7dc2e6e382 (patch)
tree52afa512910ca80f8a362b49a3f5cf27a7c0d142 /src
parentf4abe3915e97f0991232bee08a1e4a87b65515b1 (diff)
downloadpoezio-27b5bcfe5ecff6ba0c9a04f9e76ebe7dc2e6e382.tar.gz
poezio-27b5bcfe5ecff6ba0c9a04f9e76ebe7dc2e6e382.tar.bz2
poezio-27b5bcfe5ecff6ba0c9a04f9e76ebe7dc2e6e382.tar.xz
poezio-27b5bcfe5ecff6ba0c9a04f9e76ebe7dc2e6e382.zip
fixed #1796
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 06bad196..bf10ab8a 100644
--- a/src/keyboard.py
+++ b/src/keyboard.py
@@ -51,7 +51,7 @@ def read_char(s):
return "^"+chr(first + 64)
if first == 27:
(first, c) = get_next_byte(s)
- return "M-"+c
+ return "M-"+chr(first)
if 194 <= first:
(code, c) = get_next_byte(s) # 2 bytes char
char += c