tickit_renderbuffer_ungoto(3)

tickit_renderbuffer_ungoto3

Set or clear the virtual cursor position

Part of tickit_renderbuffer_goto(3).

Usage

#include <tickit.h>

void tickit_renderbuffer_goto(TickitRenderBuffer *rb, int line, int col);
void tickit_renderbuffer_ungoto(TickitRenderBuffer *rb);

Link with -ltickit.

Overview

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.

Return value

These functions return no value.

Releases

Unchanged in 4 releases since Debian 10 (Buster).

  1. 10–13

From libtickit-dev 0.4.3-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.