diff options
-rw-r--r-- | src/windows.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/windows.py b/src/windows.py index 33d7f55e..66b52f1d 100644 --- a/src/windows.py +++ b/src/windows.py @@ -166,7 +166,7 @@ class Win(object): self._win.attron(curses.A_UNDERLINE) elif attr_char == 'b': self._win.attron(curses.A_BOLD) - if attr_char in string.digits and attr_char != '': + if (attr_char in string.digits or attr_char == '-') and attr_char != '': color_str = text[next_attr_char+1:text.find('}', next_attr_char)] if ',' in color_str: tup, char = read_tuple(color_str) |