summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-01-31 15:40:56 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-01-31 15:40:56 +0000
commit4a583ee2ae12316989bc0350d7d3e19c4f82577b (patch)
tree7428bdbc31c03faa4a31b7a15bf0f871faf37c81
parent5c6ac47ef0ddad300557a3a7fe83898352bf3b4e (diff)
downloadpoezio-4a583ee2ae12316989bc0350d7d3e19c4f82577b.tar.gz
poezio-4a583ee2ae12316989bc0350d7d3e19c4f82577b.tar.bz2
poezio-4a583ee2ae12316989bc0350d7d3e19c4f82577b.tar.xz
poezio-4a583ee2ae12316989bc0350d7d3e19c4f82577b.zip
fix scrollok after resize
-rw-r--r--src/window.py2
1 files changed, 2 insertions, 0 deletions
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):
"""