1TICKIT_TERM_SCROLLRECT(3) Library Functions Manual TICKIT_TERM_SCROLLRECT(3)
2
3
4
6 tickit_term_scrollrect - scroll a region of the terminal
7
9 #include <tickit.h>
10
11 bool tickit_term_scrollrect(TickitTerm *tt, TickitRect rect,
12 int downward, int rightward);
13
14 Link with -ltickit.
15
17 tickit_term_scrollrect() attempts to scroll a rectangular region of the
18 terminal by a given offset, efficiently moving content within the dis‐
19 play. Whether or not this is possible depends on the type of terminal
20 and what region and offset were specified. This function returns a true
21 value if this operation was successful. If it was not possible to per‐
22 form the scroll, it will return false without modifying the terminal.
23 In this situation, the application must fall back to re-drawing the
24 affected region with new content.
25
27 tickit_term_scrollrect() returns a boolean indicating if the scrolling
28 operation was successful.
29
31 tickit_term_new(3), tickit_term_goto(3), tickit_term_print(3),
32 tickit_term_setpen(3), tickit_term_chpen(3), tickit_term(7), tickit(7)
33
34
35
36 TICKIT_TERM_SCROLLRECT(3)