Update the LINES and COLS module variables. This is useful for detecting manual screen resize.
curses/update_lines_cols
update_lines_cols