mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
Still some fixes for curseses without wresize() or resizeterm().
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@579 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
a25a912ec8
commit
92e0995223
3 changed files with 23 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue