CURSES_CLEAR(3) | Library Functions Manual | CURSES_CLEAR(3) |
int
clear(void);
int
clearok(WINDOW *win, bool flag);
int
clrtobot(void);
int
clrtoeol(void);
int
erase(void);
int
wclear(WINDOW *win);
int
werase(WINDOW *win);
int
wclrtobot(WINDOW *win);
int
wclrtoeol(WINDOW *win);
The clear() and erase() functions erase all characters on stdscr. wclear() and werase() perform the same function as clear() and erase(), respectively, excepting that the specified window is cleared.
By setting flag to TRUE, the clearok() function is used to force the next call to wrefresh() to clear and completely redraw the window given in win.
The function clrtobot() will clear stdscr from the current row to the bottom of the screen. clrtoeol() will clear stdscr from the current column position to the end of the line. wclrtobot() and wclrtoeol() are the same as clrtobot() and clrtoeol(), respectively, excepting the window specified is operated on instead of stdscr.
August 12, 2002 | NetBSD 6.1 |