fix scrollok after resize

This commit is contained in:
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 2010-01-31 15:40:56 +00:00
parent 5c6ac47ef0
commit 4a583ee2ae

View file

@ -152,6 +152,8 @@ class TextWin(object):
def resize(self, height, width, y, x, stdscr): def resize(self, height, width, y, x, stdscr):
for winname in self.wins.keys(): for winname in self.wins.keys():
self.wins[winname]._resize(height, width, y, x, stdscr) self.wins[winname]._resize(height, width, y, x, stdscr)
self.wins[winname].win.idlok(True)
self.wins[winname].win.scrollok(True)
class Input(Win): class Input(Win):
""" """