package tezt

  1. Overview
  2. Docs
type t
val apply : t -> string -> string

Apply a color to a string, and then reset colors.

val (++) : t -> t -> t

Combine two colors.

Example: Color.(bold ++ FG.red ++ BG.white)

val reset : t
val bold : t
module FG : sig ... end

Foreground colors.

module BG : sig ... end

Background colors.

OCaml

Innovation. Community. Security.