summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-01-12 20:37:57 +0100
committerFlorent Le Coz <louiz@louiz.org>2011-01-12 20:37:57 +0100
commit9d0d8b88b9899af167ad0d6ee64448c455d986e5 (patch)
tree17c232b0e262c7874a6213f2d0b436fc22eba1a9
parent9237f794903449c04a8632061553f34fe945d26c (diff)
downloadpoezio-9d0d8b88b9899af167ad0d6ee64448c455d986e5.tar.gz
poezio-9d0d8b88b9899af167ad0d6ee64448c455d986e5.tar.bz2
poezio-9d0d8b88b9899af167ad0d6ee64448c455d986e5.tar.xz
poezio-9d0d8b88b9899af167ad0d6ee64448c455d986e5.zip
Fix the size of nicks in user_list window
-rw-r--r--src/windows.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/windows.py b/src/windows.py
index d856b31c..ef4c1264 100644
--- a/src/windows.py
+++ b/src/windows.py
@@ -137,7 +137,7 @@ class UserList(Win):
else:
show_col = self.color_show[user.show]
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
if y == self.height:
break