diff options
author | Florent Le Coz <louiz@louiz.org> | 2011-03-29 14:35:59 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2011-03-29 14:35:59 +0200 |
commit | 38cffe43b6adab115fb65635034a0b2db9f2c26d (patch) | |
tree | b45e751374b8e0da8bf4046ae8c555d1b0cf5cee /src/room.py | |
parent | 8b032a6ece601c74ea0d9cf4f0c7a3e1ae72bcb2 (diff) | |
download | poezio-38cffe43b6adab115fb65635034a0b2db9f2c26d.tar.gz poezio-38cffe43b6adab115fb65635034a0b2db9f2c26d.tar.bz2 poezio-38cffe43b6adab115fb65635034a0b2db9f2c26d.tar.xz poezio-38cffe43b6adab115fb65635034a0b2db9f2c26d.zip |
Message and complete words can now be colored even if the
take more than one line to be displayed.
Diffstat (limited to 'src/room.py')
-rw-r--r-- | src/room.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/room.py b/src/room.py index ace0ee44..7d649ac4 100644 --- a/src/room.py +++ b/src/room.py @@ -112,7 +112,7 @@ class Room(TextBuffer): if highlight: nick_color = highlight time = time or datetime.now() - message = Message(txt=txt, nick_color=nick_color, + message = Message(txt='%s\x19o'%(txt,), nick_color=nick_color, time=time, nickname=nickname, user=user) while len(self.messages) > self.messages_nb_limit: self.messages.pop(0) |