package inquire
An OCaml library to create beautiful interactive CLIs
Install
Dune Dependency
Authors
Maintainers
Sources
inquire-0.2.1.tbz
sha256=0b88d89e24d4cbc0560a7c8d8ec51388990e1b27f24685029997afa52a7c720f
sha512=8b62860a8d15e41528a404a6f1b9968c3d79755607b5ea319af2e3e45516e672a785361d278279910928db4054e1800e87bcee0210ff3eabfb330713b368c827
doc/inquire.lambda-term/LTerm_text_impl/Make/index.html
Module LTerm_text_impl.Make
Source
Parameters
module LiteralIntf : LiteralIntf.Type
Signature
Source
val stylise_parenthesis :
(Zed_char.t * LTerm_style.t) array ->
?paren:(Zed_char.t * Zed_char.t) list ->
int ->
LTerm_style.t ->
unit
Source
type item =
| S of LiteralIntf.string_intf
| R of Zed_rope.t
| B_bold of bool
| E_bold
| B_underline of bool
| E_underline
| B_blink of bool
| E_blink
| B_reverse of bool
| E_reverse
| B_fg of LTerm_style.color
| E_fg
| B_bg of LTerm_style.color
| E_bg
Source
type eval_stack = {
mutable q_bold : bool option list;
mutable q_underline : bool option list;
mutable q_blink : bool option list;
mutable q_reverse : bool option list;
mutable q_fg : LTerm_style.color option list;
mutable q_bg : LTerm_style.color option list;
}
Styled formatters
Source
val make_formatter :
?read_color:(Format.tag -> LTerm_style.t) ->
unit ->
(unit -> (Zed_char.t * LTerm_style.t) array) * Format.formatter
Source
val pp_with_style :
('a -> Format.tag) ->
'a ->
('b, Format.formatter, unit, unit) format4 ->
Format.formatter ->
'b
Source
val kstyprintf :
?read_color:(Format.tag -> LTerm_style.t) ->
((Zed_char.t * LTerm_style.t) array -> 'a) ->
('b, Format.formatter, unit, 'a) format4 ->
'b
Source
val styprintf :
?read_color:(Format.tag -> LTerm_style.t) ->
('a, Format.formatter, unit, (Zed_char.t * LTerm_style.t) array) format4 ->
'a
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page