has_ic, has_il - query functions for terminal insert and delete capability
#include <curses.h> bool has_ic(void); bool has_il(void);
The has_ic() function indicates whether the terminal has insert- and delete-character capabilities.The has_il() function indicates whether the terminal has insert- and delete-line capabilities, or can simulate them using scrolling regions.
The has_ic() function returns TRUE if the terminal has insert- and delete-character capabilities. Otherwise, it returns FALSE.The has_il() function returns TRUE if the terminal has insert- and delete-line capabilities. Otherwise, it returns FALSE.
No errors are defined.
The has_il() function may be used to determine if it would be appropriate to turn on physical scrolling using scrollok().
<curses.h>.