update local info about the screen size

This commit is contained in:
Bill Currie 2001-09-25 23:33:37 +00:00
parent 27b6bac88f
commit 7b4e39053b

View file

@ -239,6 +239,8 @@ C_ProcessInput (void)
if (ioctl (fileno (stdout), TIOCGWINSZ, &size) == 0) {
resizeterm (size.ws_row, size.ws_col);
wrefresh (curscr);
getmaxyx (stdscr, screen_y, screen_x);
con_linewidth = screen_x;
}
}