summaryrefslogtreecommitdiff
path: root/src/windows
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2014-11-15 19:20:43 +0100
committermathieui <mathieui@mathieui.net>2014-11-15 19:20:43 +0100
commit61b5c6a91e58b81811bcbf8e789b0bf112d3a416 (patch)
tree887e2b78388d5ca95d77b4325ebf5727d0e5050e /src/windows
parent76ead122e7135094a0e4a95e65523867df93eac0 (diff)
parent0eb5c241f04aadffca48901dfd4ccbc5466d06e5 (diff)
downloadpoezio-61b5c6a91e58b81811bcbf8e789b0bf112d3a416.tar.gz
poezio-61b5c6a91e58b81811bcbf8e789b0bf112d3a416.tar.bz2
poezio-61b5c6a91e58b81811bcbf8e789b0bf112d3a416.tar.xz
poezio-61b5c6a91e58b81811bcbf8e789b0bf112d3a416.zip
Merge branch 'master' of git.poez.io:poezio into slix
Diffstat (limited to 'src/windows')
-rw-r--r--src/windows/text_win.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/windows/text_win.py b/src/windows/text_win.py
index 8a8f75ae..6fe74f41 100644
--- a/src/windows/text_win.py
+++ b/src/windows/text_win.py
@@ -244,7 +244,7 @@ class TextWin(Win):
if get_theme().CHAR_TIME_RIGHT and message.str_time:
offset += 1
lines = poopt.cut_text(txt, self.width-offset-1)
- prepend = ''
+ prepend = default_color if default_color else ''
attrs = []
for line in lines:
saved = Line(msg=message, start_pos=line[0], end_pos=line[1], prepend=prepend)