summaryrefslogtreecommitdiff
path: root/src/windows.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-05-29 02:07:30 +0200
committerFlorent Le Coz <louiz@louiz.org>2011-05-29 02:07:30 +0200
commit8021283e655d81f8dbdfae7b555bba420964dfef (patch)
treef95f0e9a5a674dba68df64d9662ab60406d44eb3 /src/windows.py
parent0db064fdf7831e6a74a0571b5fd544db53a41a16 (diff)
downloadpoezio-8021283e655d81f8dbdfae7b555bba420964dfef.tar.gz
poezio-8021283e655d81f8dbdfae7b555bba420964dfef.tar.bz2
poezio-8021283e655d81f8dbdfae7b555bba420964dfef.tar.xz
poezio-8021283e655d81f8dbdfae7b555bba420964dfef.zip
Fix some bug due to the new way chars are returned
Diffstat (limited to 'src/windows.py')
-rw-r--r--src/windows.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/windows.py b/src/windows.py
index df361ed8..eb6dde43 100644
--- a/src/windows.py
+++ b/src/windows.py
@@ -1128,7 +1128,7 @@ class MessageInput(Input):
"""
Read one more char (c) and add \x19c to the string
"""
- attr_char = self.core.read_keyboard()
+ attr_char = self.core.read_keyboard()[0]
if attr_char in self.text_attributes or (attr_char in string.digits and int(attr_char) < 7):
self.do_command('\x19', False)
self.do_command(attr_char)