1TICKIT_TERM_GOTO(3)        Library Functions Manual        TICKIT_TERM_GOTO(3)
2
3
4

NAME

6       tickit_term_goto, tickit_term_move - move the terminal output cursor
7

SYNOPSIS

9       #include <tickit.h>
10
11       bool tickit_term_goto(TickitTerm *tt, int line, int col);
12       void tickit_term_move(TickitTerm *tt, int downward, int rightward);
13
14       Link with -ltickit.
15

DESCRIPTION

17       tickit_term_goto() moves the terminal output cursor to the absolute po‐
18       sition specified. On some terminals, either line or col may  be  speci‐
19       fied  as  -1  to move within the line or column it is currently in. Not
20       all terminals may support the partial move ability; so the return value
21       of  tickit_term_goto() should be checked after attempting a goto within
22       the line or column to see if it actually worked. If not,  the  applica‐
23       tion will have to reset the position using a fully-specified goto.
24
25       tickit_term_move()  moves  the  terminal  output cursor relative to its
26       current position. Either downward or rightward may be specified as 0 to
27       not move in that direction.
28

RETURN VALUE

30       tickit_term_goto()  returns  a  boolean value indicating whether it was
31       able to support the requested movement. tickit_term_move()  returns  no
32       value.
33

SEE ALSO

35       tickit_term_build(3), tickit_term_print(3), tickit_term(7), tickit(7)
36
37
38
39                                                           TICKIT_TERM_GOTO(3)
Impressum