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_setctl_int, tickit_term_setctl_str - set an integer or string terminal control

Description

tickit_term_setctl_int()  performs  a terminal control operation, setting the value of a numeric terminal
       control  option.  tickit_term_setctl_str()  sets  the  value  of  a  string  terminal   control   option.
       tickit_term_getctl_int() obtains the value of a terminal control setting.

       For the list of possible TickitTermCtl values and their meanings, see tickit_term(7).

Name

       tickit_term_setctl_int, tickit_term_setctl_str - set an integer or string terminal control

Return Value

tickit_term_getctl_int()  returns  a  true  value  if  it recognised the requested control and managed to
       return the current value of it;  false  if  not.  tickit_term_setctl_int()  and  tickit_term_setctl_str()
       return  a true value if it recognised the requested control and managed to request the terminal to change
       it; false if not.

See Also

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

                                                                                       TICKIT_TERM_SETCTL_INT(3)

Synopsis

#include<tickit.h>booltickit_term_getctl_int(TickitTerm*tt,TickitTermCtlctl,int*value);booltickit_term_setctl_int(TickitTerm*tt,TickitTermCtlctl,intvalue);booltickit_term_setctl_str(TickitTerm*tt,TickitTermCtlctl,constchar*value);

       Link with -ltickit.

See Also