Inserts a blank line above the current line in a window.
Curses Library (libcurses.a)
The insertln and winsertln subroutines insert a blank line before the current line in the current or specified window. The bottom line is no longer displayed. The cursor position does not change.
Item | Description |
---|---|
*win | Specifies the window in which to insert the blank line. |
Upon successful completion, these subroutines return OK. Otherwise, they return ERR.
insertln();
WINDOW *mywindow;
winsertln(my_window);