summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-04-04 16:09:05 +0200
committerFlorent Le Coz <louiz@louiz.org>2011-04-04 16:09:05 +0200
commit7e2a98b0f5e19abb945ee2f316b4717d269bd3bf (patch)
tree62e0cc71d104f3900af057d7b9fc7730888b9515 /src
parentb3a9dc8637385f66de2700b2d50b8f81633452c7 (diff)
downloadpoezio-7e2a98b0f5e19abb945ee2f316b4717d269bd3bf.tar.gz
poezio-7e2a98b0f5e19abb945ee2f316b4717d269bd3bf.tar.bz2
poezio-7e2a98b0f5e19abb945ee2f316b4717d269bd3bf.tar.xz
poezio-7e2a98b0f5e19abb945ee2f316b4717d269bd3bf.zip
Color 7is now the default color instead of white
Diffstat (limited to 'src')
-rw-r--r--src/windows.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/windows.py b/src/windows.py
index 2e93cbfe..b56a7d37 100644
--- a/src/windows.py
+++ b/src/windows.py
@@ -1110,7 +1110,7 @@ class MessageInput(Input):
Read one more char (c) and add \x19c to the string
"""
attr_char = read_char(self.core.stdscr)
- if attr_char in self.text_attributes or attr_char.isdigit():
+ if attr_char in self.text_attributes or (attr_char.isdigit() and int(attr_char) < 7):
self.do_command('\x19', False)
self.do_command(attr_char)