summaryrefslogtreecommitdiff
path: root/src/keyboard.py
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-09-20 23:35:07 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-09-20 23:35:07 +0000
commitd2158ba093355fd9b14e8a749a7cb9fa6722cab9 (patch)
tree4cd50a7578d93e25f0ffe048cc914cae5418ffb4 /src/keyboard.py
parentc5366491124d138df0d74e98c1282d7e58e159b8 (diff)
downloadpoezio-d2158ba093355fd9b14e8a749a7cb9fa6722cab9.tar.gz
poezio-d2158ba093355fd9b14e8a749a7cb9fa6722cab9.tar.bz2
poezio-d2158ba093355fd9b14e8a749a7cb9fa6722cab9.tar.xz
poezio-d2158ba093355fd9b14e8a749a7cb9fa6722cab9.zip
Fix the nick change of private tabs. fixed #1845
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 4a577d16..a0ac8d6d 100644
--- a/src/keyboard.py
+++ b/src/keyboard.py
@@ -52,7 +52,7 @@ def read_char(s):
if first == 27:
(first, c) = get_next_byte(s)
if not isinstance(first, int):
- return None
+ return Nones
return "M-"+chr(first)
if 194 <= first:
(code, c) = get_next_byte(s) # 2 bytes char