Add the clear() back

This commit is contained in:
Andrew Resch 2009-11-01 17:49:32 +00:00
parent ec259d6aea
commit f6a4d19084
1 changed files with 2 additions and 0 deletions

View File

@ -253,6 +253,8 @@ class Screen(CursesStdIO):
Updates the lines based on the`:attr:lines` based on the `:attr:display_lines_offset` Updates the lines based on the`:attr:lines` based on the `:attr:display_lines_offset`
attribute and the status bars. attribute and the status bars.
""" """
self.stdscr.clear()
# Update the status bars # Update the status bars
self.add_string(0, self.topbar) self.add_string(0, self.topbar)
self.add_string(self.rows - 2, self.bottombar) self.add_string(self.rows - 2, self.bottombar)