changeset 134:f367fc14021a

Use resize_term() and erase() on resize event also with ncurses and not only with PDcurses.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 30 Oct 2010 20:42:47 +0300
parents ffe8bbd429fa
children 26fe4dab7e78
files nnchat.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/nnchat.c	Sat Oct 30 20:37:09 2010 +0300
+++ b/nnchat.c	Sat Oct 30 20:42:47 2010 +0300
@@ -1017,9 +1017,9 @@
             switch (c) {
 #ifdef KEY_RESIZE
             case KEY_RESIZE:
-#ifdef PDCURSES
                 resize_term(0, 0);
                 erase();
+#ifdef PDCURSES
                 timeout(SET_DELAY);
 #endif