TICKIT_TER...MEOUT_MSEC(3)
π TICKIT_TER...MEOUT_MSEC(3) π
okay bestie, so this one lives in the Library Functions Manual and it's a <pink>tickit</pink> thing β the terminal library, yk? it's called tickit_term_input_check_timeout_msec and it's literally the girl who keeps track of time for your terminal input. no cap.
β¨ NAME β¨
tickit_term_input_check_timeout_msec β terminal timeout behaviour πΈ
π¦ SYNOPSIS π¦
#include <tickit.h>
int tickit_term_input_check_timeout_msec(TickitTerm *tt);
Link with -ltickit.
π DESCRIPTION π
okay so tickit_term_input_check_timeout_msec() does the input-related timeout behaviour β the stuff that handles multi-byte input events, the Escape key (yes queen, Escape is complicated, she's not like other keys), and other things. iykyk. π₯
the way it works is: it returns a value telling you how many milliseconds of delay it wants before you call it again. so like, "hey bestie, give me this many ms and then come back to me, mwah." π
when you do call it again, it may perform any timeout behaviours that are required, and then it either hands you another timeout delay or a -1, which means there is no longer a need for timeout. periodt. β¨
heads up: calling it may result in TICKIT_EV_KEY events. so like, events can just show up. that's the vibe check.
also, this function invokes deferred TICKIT_EV_RESIZE events if they're enabled by tickit_term_observe_sigwinch(3). lowkey multitasking icon. π
π RETURN VALUE π
tickit_term_input_check_timeout_msec() returns a number indicating a timeout delay in milliseconds. that's it, that's the tea. π
π SEE ALSO π
tickit_term_build(3)tickit_term_input_push_bytes(3)tickit_term_bind_event(3)tickit_term(7)tickit(7)
and that's the whole page, bestie!! π this was the TICKIT_TER...MEOUT_MSEC(3) girl from the Library Functions Manual, doing her little timeout dance so your terminal input stays iconic. go read the tickit pages next, they're all in the same fam. 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