1TICKIT_TERM_CHPEN(3) Library Functions Manual TICKIT_TERM_CHPEN(3)
2
3
4
6 tickit_term_chpen, tickit_term_setpen - set rendering attributes of the
7 terminal
8
10 #include <tickit.h>
11
12 void tickit_term_chpen(TickitTerm *tt, TickitPen *pen);
13 void tickit_term_setpen(TickitTerm *tt, TickitPen *pen);
14
15 Link with -ltickit.
16
18 tickit_term_chpen() changes the rendering attributes currently in ef‐
19 fect in the terminal by setting those attributes specified in the given
20 TickitPen instance. Attributes not present in pen remain unmodified by
21 this operation.
22
23 tickit_term_setpen() changes the rendering attributes currently in ef‐
24 fect in the terminal by setting all of the attributes to those given in
25 the TickitPen instance. Any attribute not present in pen is reset back
26 to its default value.
27
28 If the foreground or background colour is set to an index higher than
29 the terminal can support, it will be converted to the best choice that
30 is available from the palette of 8 or 16 colors.
31
33 tickit_term_chpen() and tickit_term_setpen() return no value.
34
36 tickit_term_build(3), tickit_term_goto(3), tickit_term_print(3),
37 tickit_term(7), tickit_pen(7), tickit(7)
38
39
40
41 TICKIT_TERM_CHPEN(3)