diff options
author | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-06-12 19:15:45 +0000 |
---|---|---|
committer | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-06-12 19:15:45 +0000 |
commit | 94fcfd07929b38218e1abb3bd81ae2db76edf013 (patch) | |
tree | 9f59516d89db7547c1ecfd6ef741e248872743c1 /src/room.py | |
parent | 5e7bb342e66e88480effbbb90ad6c2f185f9c589 (diff) | |
download | poezio-94fcfd07929b38218e1abb3bd81ae2db76edf013.tar.gz poezio-94fcfd07929b38218e1abb3bd81ae2db76edf013.tar.bz2 poezio-94fcfd07929b38218e1abb3bd81ae2db76edf013.tar.xz poezio-94fcfd07929b38218e1abb3bd81ae2db76edf013.zip |
area text now handle correctly all the \n and other long messages
Diffstat (limited to 'src/room.py')
-rw-r--r-- | src/room.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/room.py b/src/room.py index a2b21b58..48061f47 100644 --- a/src/room.py +++ b/src/room.py @@ -72,7 +72,9 @@ class Room(object): color = None if nickname is not None: self.set_color_state(12) - if nickname != self.own_nick and self.joined and nickname is not None: # do the highlight thing + else: + color = 8 + if nickname != self.own_nick and self.joined and nickname is not None: # do the highlight if self.own_nick in txt: self.set_color_state(13) color = 3 |