Verified Commit 0eb5c241 authored by mathieui's avatar mathieui

Fix the color of the first line for offline messages

parent a400bfc1
......@@ -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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment