insertln(3) — Subroutines
NAME
insertln, winsertln − Inserts a line
SYNOPSIS
#include <curses.h>
int insertln()
int winsertln(win)
WINDOW ∗win;
DESCRIPTION
The insertln routine inserts a blank line above the current line in the default window. All lines below and including the current line are moved down. The bottom line is lost and the current line becomes blank. The (y, x) coordinates are unchanged.
The winsertln routine inserts a blank line above the current line on the specified window. All lines below and including the current line are moved down. The bottom line is lost and the current line becomes blank. The (y, x) coordinates are unchanged.
The routine insertln is a macro.
RETURN VALUES
The insertln and winsertln functions return OK on success and ERR on error.