has_il(3) — Subroutines
Digital
NAME
has_il − determine whether insert/delete line is available
SYNOPSIS
#include <curses.h>
bool has_il()
DESCRIPTION
This function will return the value TRUE if the terminal has insert line and delete line capabilities, or if it can simulate them using scrolling regions. This function might be used to check if it would be appropriate to turn on physical scrolling using the scrollok routine.
The routines insertln and deleteln are always available in the curses library if the terminal does not have the required facilities.
RETURN VALUES
This function returns TRUE if the terminal has insert line and delete line capabilities, or can simulate them using scrolling regions; otherwise it returns FALSE.