Author: andar

Revision: 5628

Log:
        Get the number of rows/columns on refresh()

Diff:
Modified: trunk/deluge/ui/console/screen.py
===================================================================
--- trunk/deluge/ui/console/screen.py   2009-08-04 01:01:26 UTC (rev 5627)
+++ trunk/deluge/ui/console/screen.py   2009-08-06 18:21:18 UTC (rev 5628)
@@ -223,6 +223,7 @@
         attribute and the status bars.
         """
         self.stdscr.clear()
+        self.rows, self.cols = self.stdscr.getmaxyx()
 
         # Update the status bars
         self.add_string(0, self.topbar)



--~--~---------~--~----~------------~-------~--~----~
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