diff options
Diffstat (limited to 'src/fe-text/screen.c')
-rw-r--r-- | src/fe-text/screen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fe-text/screen.c b/src/fe-text/screen.c index d640ddfb..4d6f101c 100644 --- a/src/fe-text/screen.c +++ b/src/fe-text/screen.c @@ -65,11 +65,12 @@ static void sig_winch(int p) /* Resize curses terminal */ ychange = ws.ws_row-LINES; xchange = ws.ws_col-COLS; -#ifdef HAVE_CURSES_RESIZETERM +#ifdef xHAVE_CURSES_RESIZETERM resizeterm(ws.ws_row, ws.ws_col); #else deinit_screen(); init_screen(); + mainwindows_recreate(); #endif mainwindows_resize(ychange, xchange != 0); |