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.
del_curterm(3X), tigetflag(3X), <term.h>.
First released in X/Open Curses, Issue 4.