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_set_utf8, tickit_term_get_utf8 - control UTF-8 mode

Description

tickit_term_set_utf8()  controls  whether terminal input is processed according to UTF-8 rules, or legacy
       8-bit single byte rules. If this function is not called explicitly, it will be detected automatically  by
       inspecting locale variables.

       tickit_term_get_utf8()  returns  the  current  value  for  UTF-8  support  as TICKIT_YES or TICKIT_NO, or
       TICKIT_MAYBE if the value is not yet known and has not been explicitly set.

Name

       tickit_term_set_utf8, tickit_term_get_utf8 - control UTF-8 mode

Return Value

tickit_term_set_utf8() returns no  value.  tickit_term_get_utf8()  returns  a  TickitMaybeBool  tri-state
       boolean value.

See Also

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

                                                                                         TICKIT_TERM_SET_UTF8(3)

Synopsis

#include<tickit.h>voidtickit_term_set_utf8(TickitTerm*tt,boolutf8);TickitMaybeBooltickit_term_get_utf8(TickitTerm*tt);

       Link with -ltickit.

See Also