idlok(3) — Subroutines
Digital
NAME
idlok − enable use of insert/delete line
SYNOPSIS
#include <curses.h>
int idlok(win, bf)
WINDOW ∗win;
bool bf;
DESCRIPTION
If enabled, that is, bf is TRUE, curses uses the insert/delete line hardware of terminals if it is available. If disabled, curses will not use this feature. This option should be enabled only if the application needs insert/delete line; for example, for a screen editor. It is disabled by default as insert/delete line can be visually annoying when used in some applications.
If insert/delete line cannot be used, curses will redraw the changed portions of all lines.
NOTE:
The terminal hardware insert/delete character feature is always used if available.
RETURN VALUES
The idlok function returns OK on success and ERR on error.