The insertln() and winsertln() functions insert a blank line before the current line in stdscr or win, respectively.
The new line becomes the current line. The current line and all lines after it in the window are moved down one line. The bottom line in the window is discarded.