diff options
author | Florent Le Coz <louiz@louiz.org> | 2011-01-26 05:01:16 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2011-01-26 05:01:16 +0100 |
commit | 41e29926ebeedc717cb469e37e72c5a610766a30 (patch) | |
tree | f05764bbca8bd0647e498697c03d800a859a37aa /src/core.py | |
parent | 8b6c0c5a2e73e35921ff108fd2b81aaa4286b855 (diff) | |
download | poezio-41e29926ebeedc717cb469e37e72c5a610766a30.tar.gz poezio-41e29926ebeedc717cb469e37e72c5a610766a30.tar.bz2 poezio-41e29926ebeedc717cb469e37e72c5a610766a30.tar.xz poezio-41e29926ebeedc717cb469e37e72c5a610766a30.zip |
Properly consider the size of the window on data-form tab
Diffstat (limited to 'src/core.py')
-rw-r--r-- | src/core.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core.py b/src/core.py index 84509e60..38c05d8b 100644 --- a/src/core.py +++ b/src/core.py @@ -177,7 +177,7 @@ class Core(object): self.add_tab(tb_tab, focus=True) except Exception: # If an exception is raised in this code, # this is fatal, so we exit cleanly and display the traceback - curses.endwin() + self.reset_curses() raise def grow_information_win(self): @@ -678,7 +678,7 @@ class Core(object): # Cancel the programmed software resize self.resize_timer.cancel() # add the new timer - self.resize_timer = threading.Timer(0.2, self.resize_window) + self.resize_timer = threading.Timer(0.05, self.resize_window) self.resize_timer.start() def resize_window(self): |