idlok(3cur)idlok(3cur)Nameidlok - enable use of insert/delete line
Syntax
#include <cursesX.h>
int idlok(win, bf)
WINDOW ∗win;
bool bf;
Description
If enabled is uses the insert/delete line hardware of terminals if it
is available. If disabled, 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 applica‐
tions.
If insert/delete line cannot be used, will redraw the changed portions
of all lines. The terminal hardware insert/delete character feature is
always used if available.
Return Values
The function returns OK on success and ERR on error.
idlok(3cur)