package dune

  1. Overview
  2. Docs
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 Lazy.t

Whether stdout/stderr support colors

val stderr_supports_color : bool 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

OCaml

Innovation. Community. Security.