Resize the standard and current windows to the specified dimensions. nlines Height. ncols Width. Adjusts other bookkeeping data used by the curses library that record the window dimensions (in particular the SIGWINCH handler).
curses/resizeterm
resizeterm