tickit_renderbuffer_reset(3)

tickit_renderbuffer_reset3

Revert a render buffer back to initial state

Usage

#include <tickit.h>

void tickit_renderbuffer_reset(TickitRenderBuffer *rb);

Link with -ltickit.

Overview

tickit_renderbuffer_reset() resets the render buffer back to its initial state. The pending content is erased, and all the cells are set back to the skipped state. The virtual cursor position is unset, the translation offset set back to zero, the clipping region set to the entire buffer and the pen removed if set. Also the saved state stack is cleared.

Any memory allocated for the storage of strings by the tickit_renderbuffer_text family of functions is also released by this function.

Return value

This function returns 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.