diff options
author | Florent Le Coz <louiz@louiz.org> | 2011-09-09 18:43:20 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2011-09-09 18:43:20 +0200 |
commit | fa5b5fc45dfb6e3a736954f0a916541fda963305 (patch) | |
tree | 1f407a68579d1d495ccea582cd65dbf85e54baef /src/text_buffer.py | |
parent | 2e04c5c77e64a45e9ab8a23b8cb7a683630eb067 (diff) | |
download | poezio-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.py | 2 |
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) |