Commit 26b38c81 authored by louiz’'s avatar louiz’

Limit nick size to the user list width

parent 749933fc
......@@ -136,7 +136,7 @@ class UserList(Win):
show_col = self.color_show[]
self.addstr(y, 0, theme.CHAR_STATUS, curses.color_pair(show_col))
self.addstr(y, 1, user.nick, curses.color_pair(role_col))
self.addstr(y, 1, user.nick[:self.width-1], curses.color_pair(role_col))
y += 1
if y == self.height:
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