summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)