summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-06-30 23:22:27 +0200
committerFlorent Le Coz <louiz@louiz.org>2011-06-30 23:22:27 +0200
commit8127f66e4d56534d18b4d47c179aacaba5306601 (patch)
treeff05aab575bcd08615841545f3599ab3fedd0b0f /src
parentb470c7875f79563ffc0c05f68c917866c2ca4d54 (diff)
downloadpoezio-8127f66e4d56534d18b4d47c179aacaba5306601.tar.gz
poezio-8127f66e4d56534d18b4d47c179aacaba5306601.tar.bz2
poezio-8127f66e4d56534d18b4d47c179aacaba5306601.tar.xz
poezio-8127f66e4d56534d18b4d47c179aacaba5306601.zip
Fix the roster erasing in the refresh()
Diffstat (limited to 'src')
-rw-r--r--src/windows.py6
1 files changed, 1 insertions, 5 deletions
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: