Terminfo(3)
πΈ NAME πΈ
Terminfo β basic interface to the terminfo database. Also hiii, this is the Terminfo(3) page in the OCaml library manual, bestie π
β¨
π§© Module π§©
Module Terminfo
π Documentation π
Module Terminfo
: sig end
Basic interface to the terminfo database. π
Warning: this module is unstable and part of Compiler_libs.
okay so status is literally this type, no cap:
type status =
| Uninitialised
| Bad_term
| Good_term
and hereβs the whole val lineup, exact signatures and all π:
val setup : out_channel -> statusβ takes anout_channeland gives you back astatus.val num_lines : out_channel -> intβ takes anout_channeland gives you back anint.val backup : out_channel -> int -> unitβ takes anout_channeland anint, returnsunit.val standout : out_channel -> bool -> unitβ takes anout_channeland abool, returnsunit.val resume : out_channel -> int -> unitβ takes anout_channeland anint, returnsunit.
okay bestie, thatβs the whole page β huge kisses from OCamldoc, dated 2026-06-22, and yes this was Terminfo(3) πβ¨
π¦ where this page comes from
- arch rolling: ocaml 5.5.0-1 Β· LGPL2.1 AND custom: QPL-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms