diff options
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 314b9896..d89dbfb9 100644 --- a/src/text_buffer.py +++ b/src/text_buffer.py @@ -37,7 +37,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\x19o'%(txt,), nick_color=nick_color, + msg = Message(txt='%s\x19o'%(txt.replace('\t', ' '),), 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) |