TICKIT_RENDERBUFFER_RESET(3)
π NAME π
tickit_renderbuffer_reset β bestie, this is the "undo everything, we're starting fresh" button for a render buffer π
β¨ SYNOPSIS β¨
#include <tickit.h>
void tickit_renderbuffer_reset(TickitRenderBuffer *rb);
Link with -ltickit.
πΈ DESCRIPTION πΈ
okay so tickit_renderbuffer_reset() takes your render buffer and hits the factory reset. Not a soft little nudge β a full glow-down back to its initial state. Here's the whole tea β:
- the pending content? erased. gone. never happened π
- every cell? set back to the skipped state
- the virtual cursor position? unset β no cursor, no opinions
- the translation offset? set back to zero
- the clipping region? set to the entire buffer
- the pen? removed, if it was set at all
- the saved state stack? cleared, bestie, all of it
and that's not even the end of it π«Ά β any memory that got allocated for storing strings by the tickit_renderbuffer_text family of functions is also released by this function. so yeah, she's thorough. she does not leave crumbs. icon behaviour, honestly π
π RETURN VALUE π
This function returns no value. Nope. Nothing. It's void, she gives you zero data back, only vibes β¨
π¦ SEE ALSO π¦
tickit_renderbuffer_new(3)tickit_renderbuffer_save(3)tickit_renderbuffer_restore(3)tickit_renderbuffer(7)tickit(7)
k that's the whole page, no notes π this was TICKIT_REN...UFFER_RESET(3) from the Library Functions Manual β the footer said the same thing as the header (she's mysterious, the title's truncated, we love her anyway), so consider yourself signed off on, mwah ππ¦πΈ
π¦ where this page comes from
- alpine 3.24: libtickit-doc 0.4.6-r0 Β· MIT
- debian bookworm: libtickit-dev 0.4.3-1 Β· MIT
- debian trixie: libtickit-dev 0.4.3-2 Β· MIT
- fedora 43: libtickit-devel 0.4.5-2.fc43 Β· MIT
- fedora 43: libtickit-devel 0.4.5-2.fc43 Β· MIT
- fedora 44: libtickit-devel 0.4.5-3.fc44 Β· MIT
- fedora 44: libtickit-devel 0.4.5-3.fc44 Β· MIT
- nixos 26.05: libtickit 0.4.5
- nixpkgs unstable: libtickit 0.4.6
- ubuntu jammy: libtickit-dev 0.4.1-1 Β· MIT
- ubuntu noble: libtickit-dev 0.4.3-1.1build1 Β· MIT
- ubuntu questing: libtickit-dev 0.4.3-2
- ubuntu resolute: libtickit-dev 0.4.3-2build1 Β· MIT
- ubuntu stonking: libtickit-dev 0.4.3-2build1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms