Next: Getting characters from the keyboard, Previous: Deleting the character under the cursor, Up: The basic curses library [Contents][Index]
The deleteln
procedure deletes the line under the cursor in the
window; all lines below the current line are moved up one line. The
bottom line of the window is cleared. The cursor position does not
change.
It returns #f
on failure and #t
on success.
The insdelln
routine, for positive n, inserts n
lines into the specified window above the current line. The n
bottom lines are lost. For negative n, it deletes n lines
(starting with the one under the cursor), and move the remaining lines
up. The bottom n lines are cleared. The current cursor position
remains the same.
It returns #f
on failure and #t
on success.
The insertln
routine inserts a blank line above the current
line and the bottom line is lost.
It returns #f
on failure and #t
on success.