summaryrefslogtreecommitdiff
path: root/src/window.py
diff options
context:
space:
mode:
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()