DOKK / manpages / debian 12 / libtickit-dev / tickit_renderbuffer_flush_to_term.3.en
TICKIT_RENDERBUFFER_FLUSH_TO_TERM(3) Library Functions Manual TICKIT_RENDERBUFFER_FLUSH_TO_TERM(3)

tickit_renderbuffer_flush_to_term - output buffer contents to the terminal

#include <tickit.h>

void tickit_renderbuffer_flush_to_term(TickitRenderBuffer *rb, TickitTerm *tt);

Link with -ltickit.

tickit_renderbuffer_flush_to_term() outputs the entire stored state in the buffer to the terminal, then resets the buffer back to its initial state. Stored content is output in a strictly top-to-bottom, left-to-right order, ensuring a minimal amount of cursor movement for efficiency, and helping to reduce output flicker on the terminal display.

This function returns nothing.

tickit_renderbuffer_new(3), tickit_renderbuffer_reset(3), tickit_renderbuffer(7), tickit(7)