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
19 effect in the terminal by setting those attributes specified in the
20 given TickitPen instance. Attributes not present in pen remain unmodi‐
21 fied by this operation.
22
23 tickit_term_setpen() changes the rendering attributes currently in
24 effect in the terminal by setting all of the attributes to those given
25 in the TickitPen instance. Any attribute not present in pen is reset
26 back 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_new(3), tickit_term_set_output_fd(3), tickit_term_set_out‐
37 put_func(3), tickit_term_goto(3), tickit_term_print(3), tickit_term(7),
38 tickit_pen(7), tickit(7)
39
40
41
42 TICKIT_TERM_CHPEN(3)