TICKIT_TER...PUSH_BYTES(3)

πŸ’– NAME πŸ’–

tickit_term_input_push_bytes β€” bestie, it's literally just "supply more input data" ✨


🌸 SYNOPSIS 🌸

#include <tickit.h>

void tickit_term_input_push_bytes(TickitTerm *tt, const char *bytes, size_t len);

Link with -ltickit. 🫢


✨ DESCRIPTION ✨

okay so tickit_term_push_input_bytes() is the vibe where you hand a terminal instance some more data β€” and it's treated exactly as if that data had been read straight off a terminal file descriptor. like, the terminal doesn't even know the difference, no cap πŸ’…

and heads up: calling this function may result in TICKIT_EV_KEY or TICKIT_EV_MOUSE events getting invoked. so like, your handlers might just start doing stuff. that's the point. that's the slay. πŸ”₯

this function also invokes deferred TICKIT_EV_RESIZE events β€” but only if that's been enabled by tickit_term_observe_sigwinch(3). iykyk 😌


πŸŽ€ RETURN VALUE πŸŽ€

tickit_term_input_push_bytes() returns no value. like, nothing. void. she gives you nothing and that's iconic of her πŸ’€


πŸ¦‹ SEE ALSO πŸ¦‹


ok bestie that's the whole page πŸ₯° this was Library Functions Manual material, page TICKIT_TER...PUSH_BYTES(3), and that's the sign-off β€” go push some bytes, you absolute main character πŸ‘‘πŸ’–