summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Resch <andrewresch@gmail.com>2009-11-01 17:49:32 +0000
committerAndrew Resch <andrewresch@gmail.com>2009-11-01 17:49:32 +0000
commite32bd8f4d8384cc901a030c5693fea78a9031e3b (patch)
tree7a1b716b41d44ac974d22275438c14d66145a887
parent87723a3354c0c1348cb8e9f832cbcba66fb645d9 (diff)
downloaddeluge-e32bd8f4d8384cc901a030c5693fea78a9031e3b.tar.gz
deluge-e32bd8f4d8384cc901a030c5693fea78a9031e3b.tar.bz2
deluge-e32bd8f4d8384cc901a030c5693fea78a9031e3b.zip
Add the clear() back
-rw-r--r--deluge/ui/console/screen.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/deluge/ui/console/screen.py b/deluge/ui/console/screen.py
index 2c74045a5..456db950b 100644
--- a/deluge/ui/console/screen.py
+++ b/deluge/ui/console/screen.py
@@ -253,6 +253,8 @@ class Screen(CursesStdIO):
Updates the lines based on the`:attr:lines` based on the `:attr:display_lines_offset`
attribute and the status bars.
"""
+ self.stdscr.clear()
+
# Update the status bars
self.add_string(0, self.topbar)
self.add_string(self.rows - 2, self.bottombar)