From 8127f66e4d56534d18b4d47c179aacaba5306601 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Thu, 30 Jun 2011 23:22:27 +0200 Subject: Fix the roster erasing in the refresh() --- src/windows.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src') diff --git a/src/windows.py b/src/windows.py index 4fa358d4..ef2a7569 100644 --- a/src/windows.py +++ b/src/windows.py @@ -1328,7 +1328,7 @@ class RosterWin(Win): self.roster_len = len(roster) while self.roster_len and self.pos >= self.roster_len: self.move_cursor_up() - # self._win.erase() + self._win.erase() self._win.move(0, 0) self.draw_roster_information(roster) y = 1 @@ -1365,10 +1365,6 @@ class RosterWin(Win): y += 1 if y-self.start_pos+1 == self.height: break - line = ' '*self.width - while y < self.height: - self.addstr(y, 0, line) - y += 1 if self.start_pos > 1: self.draw_plus(1) if self.start_pos + self.height-2 < self.roster_len: -- cgit v1.2.3