Erases the current line from the logical cursor position to the end of the window.
Curses Library (libcurses.a)
The clrtobot and wclrtobot subroutines erase all lines following the cursor in the current or specified window, and erase the current line from the cursor to the end of the line, inclusive. These subroutines do not update the cursor.
Item | Description |
---|---|
*win | Specifies the window in which to erase lines. |
Upon successful completion, these subroutines return OK. Otherwise, they return ERR.
clrtobot();
WINDOW *my_window;
wclrtobot(my_window);