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

unibi_get_name, unibi_set_name - access the name of a terminal object

Description

       "unibi_get_name" gets the name from ut; "unibi_set_name" sets the name to s.

       Note that "unibi_set_name" simply stores the pointer it is given; it will not free s or make a copy of
       the string.

Name

       unibi_get_name, unibi_set_name - access the name of a terminal object

Return Value

       "unibi_get_name" returns a pointer to the name of the terminal; this either comes from a terminfo entry
       (the part after the last '|' in the name section) or was set by "unibi_set_name".

See Also

unibilium.h(3), unibi_get_aliases(3), unibi_set_aliases(3)

unibilium-2.1.1                                    2024-03-20                             doc::unibi_set_name(3)

Synopsis

        #include <unibilium.h>

        const char *unibi_get_name(const unibi_term *ut);
        void unibi_set_name(unibi_term *ut, const char *s);

See Also