summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2012-01-24 14:49:03 +0100
committerFlorent Le Coz <louiz@louiz.org>2012-01-24 14:49:03 +0100
commit7425231f47536b2f70a87eefb36a39a8b25cd37f (patch)
tree7effe0387171d22ef0a31a1d29b65865ee6a10db /src
parent92d96f3f36cebd0ffb39e703c08af369e70b78fc (diff)
downloadpoezio-7425231f47536b2f70a87eefb36a39a8b25cd37f.tar.gz
poezio-7425231f47536b2f70a87eefb36a39a8b25cd37f.tar.bz2
poezio-7425231f47536b2f70a87eefb36a39a8b25cd37f.tar.xz
poezio-7425231f47536b2f70a87eefb36a39a8b25cd37f.zip
Display colors for /me messages in a better way.
Diffstat (limited to 'src')
-rw-r--r--src/text_buffer.py2
1 files changed, 1 insertions, 1 deletions
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")\