From 0eb5c241f04aadffca48901dfd4ccbc5466d06e5 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sat, 15 Nov 2014 19:18:50 +0100 Subject: Fix the color of the first line for offline messages --- src/windows/text_win.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.3