Module Stdune.Ansi_color

module Style : sig ... end
val print : Style.t list Pp.t -> unit

Print to Format.std_formatter

val prerr : Style.t list Pp.t -> unit

Print to Format.err_formatter

val stdout_supports_color : bool Stdlib.Lazy.t

Whether stdout/stderr support colors

val stderr_supports_color : bool Stdlib.Lazy.t
val strip : string -> string

Filter out escape sequences in a string

val parse : string -> Style.t list Pp.t

Parse a string containing ANSI escape sequences