# HG changeset patch # User Matti Hamalainen # Date 1308781399 -10800 # Node ID adc615a6b4e593d228d9b997d462a13c2b90c11f # Parent ece94ae2a0511aac390d9e00c91ee56c1eb4bc56 Call erase() when terminal is resized, this works around certain problems with old NCurses versions. diff -r ece94ae2a051 -r adc615a6b4e5 nnchat.c --- 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()) {