Commit 9d0d8b88 authored by louiz’'s avatar louiz’

Fix the size of nicks in user_list window

parent 9237f794
...@@ -137,7 +137,7 @@ class UserList(Win): ...@@ -137,7 +137,7 @@ class UserList(Win):
else: else:
show_col = self.color_show[user.show] show_col = self.color_show[user.show]
self.addstr(y, 0, theme.CHAR_STATUS, curses.color_pair(show_col)) self.addstr(y, 0, theme.CHAR_STATUS, curses.color_pair(show_col))
self.addstr(y, 1, user.nick[:self.width-1], curses.color_pair(role_col)) self.addstr(y, 1, user.nick[:self.width-2], curses.color_pair(role_col))
y += 1 y += 1
if y == self.height: if y == self.height:
break break
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment