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_chpen, tickit_term_setpen - set rendering attributes of the terminal

Description

tickit_term_chpen() changes the rendering attributes currently in effect in the terminal by setting those
       attributes  specified in the given TickitPen instance. Attributes not present in pen remain unmodified by
       this operation.

       tickit_term_setpen() changes the rendering attributes currently in effect in the terminal by setting  all
       of  the  attributes  to  those given in the TickitPen instance. Any attribute not present in pen is reset
       back to its default value.

       If the foreground or background colour is set to an index higher than the terminal can support,  it  will
       be converted to the best choice that is available from the palette of 8 or 16 colors.

Name

       tickit_term_chpen, tickit_term_setpen - set rendering attributes of the terminal

Return Value

tickit_term_chpen() and tickit_term_setpen() return no value.

See Also

tickit_term_build(3), tickit_term_goto(3), tickit_term_print(3), tickit_term(7), tickit_pen(7), tickit(7)

                                                                                            TICKIT_TERM_CHPEN(3)

Synopsis

#include<tickit.h>voidtickit_term_chpen(TickitTerm*tt,TickitPen*pen);voidtickit_term_setpen(TickitTerm*tt,TickitPen*pen);

       Link with -ltickit.

See Also