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…
Reference in New Issue