summaryrefslogtreecommitdiff
path: root/src/text_buffer.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-09-09 18:43:20 +0200
committerFlorent Le Coz <louiz@louiz.org>2011-09-09 18:43:20 +0200
commitfa5b5fc45dfb6e3a736954f0a916541fda963305 (patch)
tree1f407a68579d1d495ccea582cd65dbf85e54baef /src/text_buffer.py
parent2e04c5c77e64a45e9ab8a23b8cb7a683630eb067 (diff)
downloadpoezio-fa5b5fc45dfb6e3a736954f0a916541fda963305.tar.gz
poezio-fa5b5fc45dfb6e3a736954f0a916541fda963305.tar.bz2
poezio-fa5b5fc45dfb6e3a736954f0a916541fda963305.tar.xz
poezio-fa5b5fc45dfb6e3a736954f0a916541fda963305.zip
Make it work. MAY segfault. Need intensive testing.
Should be A. LOT. FASTER. though.
Diffstat (limited to 'src/text_buffer.py')
-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 77646aea..a6465da3 100644
--- a/src/text_buffer.py
+++ b/src/text_buffer.py
@@ -46,7 +46,7 @@ class TextBuffer(object):
def add_message(self, txt, time=None, nickname=None, nick_color=None, history=None):
time = time or datetime.now()
- msg = Message(txt='%s'%(txt,), nick_color=nick_color,
+ msg = Message(txt='%s\x19o'%(txt,), nick_color=nick_color,
time=time, str_time=time.strftime("%Y-%m-%d %H:%M:%S")\
if history else time.strftime("%H:%M:%S"),\
nickname=nickname, user=None)