Ignore window size changes in resize check
This commit is contained in:
parent
46aa412b7b
commit
82176bc7e7
|
@ -71,11 +71,13 @@ term_resize_check()
|
|||
{
|
||||
if ((COLS == dgl_local_COLS) && (LINES == dgl_local_LINES) && !curses_resize) return;
|
||||
|
||||
signal(SIGWINCH, SIG_IGN);
|
||||
endwin();
|
||||
initcurses();
|
||||
dgl_local_COLS = COLS;
|
||||
dgl_local_LINES = LINES;
|
||||
curses_resize = 0;
|
||||
signal(SIGWINCH, sigwinch_func);
|
||||
}
|
||||
|
||||
int
|
||||
|
|
Loading…
Reference in New Issue