From 4a583ee2ae12316989bc0350d7d3e19c4f82577b Mon Sep 17 00:00:00 2001 From: "louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13" Date: Sun, 31 Jan 2010 15:40:56 +0000 Subject: [PATCH] fix scrollok after resize --- src/window.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/window.py b/src/window.py index dfae2600..ac6c928d 100644 --- a/src/window.py +++ b/src/window.py @@ -152,6 +152,8 @@ class TextWin(object): def resize(self, height, width, y, x, stdscr): for winname in self.wins.keys(): self.wins[winname]._resize(height, width, y, x, stdscr) + self.wins[winname].win.idlok(True) + self.wins[winname].win.scrollok(True) class Input(Win): """