Private.Fmt
Formatting.
val ansi_tty : bool Stdlib.ref
ansi_tty determines whether ANSI formatting is performed or not.
ansi_tty
type 'a t = Stdlib.Format.formatter -> 'a -> unit
The type for formatters of value of type 'a.
'a
val pf : Stdlib.Format.formatter -> ('a, Stdlib.Format.formatter, unit) Stdlib.format -> 'a
pf is Format.fprintf.
pf
Format.fprintf
val string : string t
string is Format.pp_print_string.
string
Format.pp_print_string
val list : ?sep:unit t -> 'a t -> 'a list t
list is Format.pp_print_list.
list
Format.pp_print_list
val tty_str : mode:string -> string t
tty_str ~mode formats string with ANSI mode mode.
tty_str ~mode
mode
val faint : string t
faint formats a string with less contrast.
faint