logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

tickit_term_get_termtype - returns the terminal type

Description

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.

Name

       tickit_term_get_termtype - returns the terminal type

Return Value

tickit_term_get_termtype() returns a string buffer pointer.

See Also

tickit_term_build(3), tickit_term(7), tickit(7)

                                                                                     TICKIT_TERM_GET_TERMTYPE(3)

Synopsis

#include<tickit.h>constchar*tickit_term_get_termtype(TickitTerm*tt);

       Link with -ltickit.

See Also