Fix the size of nicks in user_list window
This commit is contained in:
parent
9237f79490
commit
9d0d8b88b9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue