changeset 1995 | 7f7c6b87f1b1 |
parent 1941 | 2256d0626730 |
child 2042 | 0cb8ea02e472 |
--- a/mcabber/mcabber/main.c Wed Mar 30 22:02:48 2011 +0200 +++ b/mcabber/mcabber/main.c Sat Apr 16 09:25:21 2011 +0200 @@ -120,7 +120,8 @@ mcabber_terminate("Killed by SIGINT"); #ifdef USE_SIGWINCH } else if (signum == SIGWINCH) { - ungetch(KEY_RESIZE); + if (scr_curses_status()) + ungetch(KEY_RESIZE); #endif } else { scr_LogPrint(LPRINT_LOGNORM, "Caught signal: %d", signum);