mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-23 08:38:16 +00:00
Get the number of rows/columns on refresh()
This commit is contained in:
parent
8425e9915d
commit
9bf89455e6
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user