Copies blank spaces to every position in a window.
Curses Library (libcurses.a)
The erase and werase subroutines copy blank spaces to every position in the specified window. Use the erase subroutine with the stdscr and the werase subroutine with user-defined windows.
Item | Description |
---|---|
Window | Specifies the window to erase. |
erase();
WINDOW *my_window;
werase(my_window);