idlok(3cur)
Name
idlok − enable use of insert/delete line
Syntax
#include <cursesX.h>
int idlok(win, bf)
WINDOW ∗win;
bool bf;
Description
If enabled (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.