summaryrefslogtreecommitdiff
path: root/src/window.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.py')
-rw-r--r--src/window.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/window.py b/src/window.py
index a3c35b2e..f50d8c08 100644
--- a/src/window.py
+++ b/src/window.py
@@ -160,13 +160,10 @@ class RoomInfo(Win):
,curses.color_pair(1))
sorted_rooms = sorted(rooms, compare_room)
for room in sorted_rooms:
- if current == room:
- color = 10
- else:
- color = room.color_state
+ color = room.color_state
try:
- self.win.addstr(str(room.nb), curses.color_pair(color))
- self.win.addstr(",", curses.color_pair(1))
+ self.win.addstr("%s" % str(room.nb), curses.color_pair(color))
+ self.win.addstr(u"|".encode('utf-8'), curses.color_pair(1))
except: # end of line
break
(y, x) = self.win.getyx()