Next: Querying the terminfo database, Previous: Window creation, Up: The basic curses library [Contents][Index]
The function resize
reallocates storage for an ncurses window
to adjust its dimensions to the specified values. If either dimension
is larger than the current values, the window’s data is filled with
blanks that have the current background rendition (as set by
bkgdset!
) merged into them.
It returns #t
on success or #f
on failure. It fails
for zero-sized dimensions or memory allocation problems.
The function resizeterm
resizes the standard and current windows to
the specified dimensions lines and columns. If the windows
are increased in size, the extended areas are blank-filled.
It returns #t
on success or #f
on failure. It could fail
for memory allocation failures or for dimensions that are too small.