From 7e2a98b0f5e19abb945ee2f316b4717d269bd3bf Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Mon, 4 Apr 2011 16:09:05 +0200 Subject: [PATCH] Color 7is now the default color instead of white --- src/windows.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)