Author: andar

Revision: 5904

Log:
        Add the clear() back

Diff:
Modified: branches/1.2_RC/deluge/ui/console/screen.py
===================================================================
--- branches/1.2_RC/deluge/ui/console/screen.py 2009-10-31 22:05:35 UTC (rev 
5903)
+++ branches/1.2_RC/deluge/ui/console/screen.py 2009-11-01 17:49:32 UTC (rev 
5904)
@@ -253,6 +253,8 @@
         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)

Modified: trunk/deluge/ui/console/screen.py
===================================================================
--- trunk/deluge/ui/console/screen.py   2009-10-31 22:05:35 UTC (rev 5903)
+++ trunk/deluge/ui/console/screen.py   2009-11-01 17:49:32 UTC (rev 5904)
@@ -253,6 +253,8 @@
         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)



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to