summaryrefslogtreecommitdiff
path: root/src/window.py
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-02-01 21:51:17 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-02-01 21:51:17 +0000
commit25d3ab27e730506262cc2d7bb842e8310ef1f5f4 (patch)
treeb482bdc287680231a46314287ea1252f5a71a6b4 /src/window.py
parent5a9c4fae0d0e926fc094b4ba8a61173bfceb92e6 (diff)
downloadpoezio-25d3ab27e730506262cc2d7bb842e8310ef1f5f4.tar.gz
poezio-25d3ab27e730506262cc2d7bb842e8310ef1f5f4.tar.bz2
poezio-25d3ab27e730506262cc2d7bb842e8310ef1f5f4.tar.xz
poezio-25d3ab27e730506262cc2d7bb842e8310ef1f5f4.zip
fix le bug du topic
Diffstat (limited to 'src/window.py')
-rw-r--r--src/window.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.py b/src/window.py
index 61c07378..96ff4f52 100644
--- a/src/window.py
+++ b/src/window.py
@@ -72,7 +72,7 @@ class Info(Win):
def refresh(self, room_name):
self.win.clear()
- self.win.addstr(0, 0, room_name + " "*(self.width-len(room_name)-1)
+ self.win.addnstr(0, 0, room_name + " "*(self.width-len(room_name)-1), self.width-1
, curses.color_pair(1))
self.win.refresh()