tickit_term_get_termtype
returns the terminal type
- Provided by: libtickit-dev (Version: 0.4.3-1.1build1)
- Source: libtickit
- Report a bug
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 set in the TickitTermBuilder struct to tickit_term_build(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.