From 7425231f47536b2f70a87eefb36a39a8b25cd37f Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Tue, 24 Jan 2012 14:49:03 +0100 Subject: Display colors for /me messages in a better way. --- src/text_buffer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/text_buffer.py b/src/text_buffer.py index 3541b9c1..f396bd5b 100644 --- a/src/text_buffer.py +++ b/src/text_buffer.py @@ -44,7 +44,7 @@ class TextBuffer(object): else: color = None # TODO: display the bg color too. - txt = ("\x19%s}* \x195}" % (color or 5,))+ nickname + ' ' + txt[4:] + txt = ("\x195}* \x19%s}" % (color or 5,))+ nickname + ' \x195}' + txt[4:] nickname = None msg = Message(txt='%s\x19o'%(txt.replace('\t', ' '),), nick_color=nick_color, time=time, str_time=time.strftime("%Y-%m-%d %H:%M:%S")\ -- cgit v1.2.3