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