# HG changeset patch # User Matti Hamalainen # Date 1288460567 -10800 # Node ID f367fc14021af7142b0de1bda84d926e4fcd446c # Parent ffe8bbd429fa0aa53b116c2f4667516e83c8f5ee Use resize_term() and erase() on resize event also with ncurses and not only with PDcurses. diff -r ffe8bbd429fa -r f367fc14021a nnchat.c --- 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