package inquire
An OCaml library to create beautiful interactive CLIs
Install
dune-project
Dependency
Authors
Maintainers
Sources
inquire-0.2.1.tbz
sha256=0b88d89e24d4cbc0560a7c8d8ec51388990e1b27f24685029997afa52a7c720f
sha512=8b62860a8d15e41528a404a6f1b9968c3d79755607b5ea319af2e3e45516e672a785361d278279910928db4054e1800e87bcee0210ff3eabfb330713b368c827
doc/inquire.lambda-term/LTerm_style/index.html
Module LTerm_style
Text styles
Colors
val default : color
val index : int -> color
val rgb : int -> int -> int -> color
rgb r g b
raises Invalid_argument
if one of r
, g
or b
is not in the range 0..255
.
Standard colors
val black : color
val red : color
val green : color
val yellow : color
val blue : color
val magenta : color
val cyan : color
val white : color
Light colors
val lblack : color
val lred : color
val lgreen : color
val lyellow : color
val lblue : color
val lmagenta : color
val lcyan : color
val lwhite : color
Styles
type t = {
bold : bool option;
underline : bool option;
blink : bool option;
reverse : bool option;
foreground : color option;
background : color option;
}
Type of text styles.
val bold : t -> bool option
val underline : t -> bool option
val blink : t -> bool option
val reverse : t -> bool option
val none : t
Style with all fields set to None
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page