Deletes lines in a window.
Curses Library (libcurses.a)
The deleteln and wdeleteln subroutines delete the line containing the cursor in the current or specified window and move all lines following the current line one line toward the cursor. The last line of the window is cleared. The cursor position does not change.
Item | Description |
---|---|
*win | Specifies the window in which to delete the line. |
Upon successful completion, these subroutines return OK. Otherwise, they return ERR.
deleteln();
WINDOW *my_window;
wdeleteln(my_window);