Color 7is now the default color instead of white

This commit is contained in:
Florent Le Coz 2011-04-04 16:09:05 +02:00
parent b3a9dc8637
commit 7e2a98b0f5

View file

@ -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)