Function ncursesw::ripoffline
source · [−]pub fn ripoffline(
line: Orientation,
init: RipoffInit
) -> Result<(), NCurseswError>
Expand description
The ripoffline()
routine provides access to the same facility that slk_init()
uses to reduce the size of the screen. ripoffline()
must be called before
initscr()
or newterm()
is called.
When the resulting initialization is done inside initscr()
, the routine init
(supplied by the user) is called with two arguments:
- a window pointer to the one-line window that has been allocated and
- an
i32
with the number of columns in the window.
Inside this initialization routine, the i32
variables LINE
S and COLS
are
not guaranteed to be accurate and wrefresh()
or doupdate()
must not be called.
It is allowable to call wnoutrefresh()
during the initialization routine.
ripoffline()
can be called up to five times before calling initscr()
or newterm()
.