table of contents
TICKIT_TERM_NEW(3) | Library Functions Manual | TICKIT_TERM_NEW(3) |
NAME¶
tickit_term_new - create a new terminal instanceSYNOPSIS¶
#include <tickit.h> TickitTerm *tickit_term_new(void); TickitTerm *tickit_term_new_for_termtype(const char *termtype);
Link with -ltickit.
DESCRIPTION¶
tickit_term_new() creates a new TickitTerm instance for the terminal type given by the TERM environment variable.tickit_term_new_for_termtype() creates a new TickitTerm instance for the given terminal type.
The reference count of a newly-constructed terminal instance will be one. This can be incremented or decremented using tickit_term_ref(3) and tickit_term_unref(3). When its reference count reaches zero it is destroyed.