clearok(3cur)
Name
clearok − enable screen clearing
Syntax
#include <cursesX.h>
int clearok(win, bf)
WINDOW ∗win;
bool bf;
Description
If bf is TRUE, the next call to refresh() for the specified window will clear the window completely and redraw the entire window without changing the original screen’s contents. This is useful when the contents of the screen are uncertain. If the window is stdscr the entire screen is redrawn.
Return Values
The clearok function returns OK on success and ERR on error.