Provided by: libtickit-dev_0.2-5_amd64
tickit_term_get_termtype - returns the terminal type
#include <tickit.h> const char *tickit_term_get_termtype(TickitTerm *tt); Link with -ltickit.
tickit_term_get_termtype() returns the string name of the type of the terminal. This is the string that was given to tickit_term_new_for_termtype(3), or was fetched from the TERM environment variable. The returned value points directly into the buffer allocated by the TickitTerm instance itself; this buffer must not be modified or freed.
tickit_term_get_termtype() returns a string buffer pointer.
tickit_term_new(3), tickit_term(7), tickit(7) TICKIT_TERM_GET_TERMTYPE(3)