VMS Help
CRTL, clearok
*Conan The Librarian
|
Sets the clear flag for the window.
Format
#include <curses.h>
clearok (WINDOW *win, bool boolf);
win
The entire size of the terminal screen. You can use the windows
stdscr and curscr with clearok.
boolf
A Boolean value of TRUE or FALSE. If the argument is TRUE, this
forces a clearscreen to be printed on the next call to refresh,
or stops the screen from being cleared if boolf is FALSE.
The type bool is defined in the <curses.h> header file as
follows:
#define bool int
Unlike the clear function, the clearok function does not alter
the contents of the window. If the win argument is curscr, the
next call to refresh causes a clearscreen, even if the window
passed to refresh is not a window the size of the entire terminal
screen.