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_renderbuffer_goto, tickit_renderbuffer_ungoto - set or clear the virtual cursor position

Description

tickit_renderbuffer_goto()  sets  the virtual cursor position to the given line and column. This does not
       have to be within the bounds of either the buffer's extent, nor the  clipping  region.  If  it  is  moved
       outside  of the clipping region, then no drawing operations will take effect, but the position will still
       be updated by these operations to check when it moves into the area of effect once more. This position is
       affected by the translation offset given by tickit_renderbuffer_translate().

       tickit_renderbuffer_ungoto() clears the virtual cursor position. After this  call,  the  position  is  no
       longer defined, and the cursor-relative output functions will not operate.

Name

       tickit_renderbuffer_goto, tickit_renderbuffer_ungoto - set or clear the virtual cursor position

Return Value

       These functions return no value.

See Also

tickit_renderbuffer_new(3),       tickit_renderbuffer_get_cursorpos(3),      tickit_renderbuffer_skip(3),
       tickit_renderbuffer_text(3), tickit_renderbuffer_erase(3), tickit_renderbuffer(7), tickit(7)

                                                                                     TICKIT_RENDERBUFFER_GOTO(3)

Synopsis

#include<tickit.h>voidtickit_renderbuffer_goto(TickitRenderBuffer*rb,intline,intcol);voidtickit_renderbuffer_ungoto(TickitRenderBuffer*rb);

       Link with -ltickit.

See Also