From 5d7bb0fd6751e28320dad715e98bfe8112ee71f6 Mon Sep 17 00:00:00 2001 From: "louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13" Date: Wed, 17 Feb 2010 03:58:06 +0000 Subject: #1176, even after a resize --- src/window.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/window.py b/src/window.py index 196446af..c6588da4 100644 --- a/src/window.py +++ b/src/window.py @@ -228,6 +228,7 @@ class TextWin(object): self.wins[winname]._resize(height, width, y, x, stdscr) self.wins[winname].win.idlok(True) self.wins[winname].win.scrollok(True) + self.wins[winname].win.leaveok(1) class Input(Win): """ @@ -248,6 +249,7 @@ class Input(Win): if not visible: return self._resize(height, width, y, x, stdscr) + self.win.leaveok(0) self.win.clear() self.win.addnstr(0, 0, self.text.encode('utf-8'), self.width-1) -- cgit v1.2.3