cur_term - current terminal information
#include <term.h> extern TERMINAL *cur_term;
The external variable cur_term identifies the record in the terminfo database associated with the terminal currently in use.
set_curterm(), tigetflag(), <term.h>.