diff options
author | mathieui <mathieui@mathieui.net> | 2014-11-15 19:18:50 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2014-11-15 19:18:50 +0100 |
commit | 0eb5c241f04aadffca48901dfd4ccbc5466d06e5 (patch) | |
tree | abeea16db3fbf513d9001a33f5de690c379694d4 /src | |
parent | a400bfc1e91d7b459cb2e442bd5dd0b40138d3a7 (diff) | |
download | poezio-0eb5c241f04aadffca48901dfd4ccbc5466d06e5.tar.gz poezio-0eb5c241f04aadffca48901dfd4ccbc5466d06e5.tar.bz2 poezio-0eb5c241f04aadffca48901dfd4ccbc5466d06e5.tar.xz poezio-0eb5c241f04aadffca48901dfd4ccbc5466d06e5.zip |
Fix the color of the first line for offline messages
Diffstat (limited to 'src')
-rw-r--r-- | src/windows/text_win.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/windows/text_win.py b/src/windows/text_win.py index f634f5a6..413d9421 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) |