clearok(3cur) clearok(3cur)
Name
clearok - enable screen clearing
Syntax
#include <cursesX.h>
int clearok(win, bf)
WINDOW *win;
bool bf;
Description
If is the next call to 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 the entire screen is redrawn.
Return Values
The function returns OK on success and ERR on error.
See Also
refresh(3cur)
clearok(3cur)