From 9bf89455e6078276e47e31a7350d9fda91417def Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Thu, 6 Aug 2009 18:21:18 +0000 Subject: [PATCH] Get the number of rows/columns on refresh() --- deluge/ui/console/screen.py | 1 + 1 file changed, 1 insertion(+) diff --git a/deluge/ui/console/screen.py b/deluge/ui/console/screen.py index 1020d2f48..f124cf845 100644 --- a/deluge/ui/console/screen.py +++ b/deluge/ui/console/screen.py @@ -223,6 +223,7 @@ class Screen(CursesStdIO): 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)