changeset 342:adc615a6b4e5

Call erase() when terminal is resized, this works around certain problems with old NCurses versions.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 23 Jun 2011 01:23:19 +0300
parents ece94ae2a051
children 372bb1eee80c
files nnchat.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/nnchat.c	Thu Jun 23 01:22:44 2011 +0300
+++ b/nnchat.c	Thu Jun 23 01:23:19 2011 +0300
@@ -1598,6 +1598,7 @@
 #ifdef KEY_RESIZE
             case KEY_RESIZE:
                 resize_term(0, 0);
+                erase();
                 timeout(SET_DELAY);
 
                 if (!initializeWindows()) {