package ansicolor

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type color =
  1. | Black
  2. | Red
  3. | Green
  4. | Yellow
  5. | Blue
  6. | Magenta
  7. | Cyan
  8. | White
type attribute =
  1. | Clear
  2. | Bold
  3. | Dark
  4. | Underline
  5. | Reverse
  6. | Concealed
  7. | Color of color
  8. | Background of color
val black : attribute
val red : attribute
val green : attribute
val yellow : attribute
val blue : attribute
val magenta : attribute
val cyan : attribute
val white : attribute
val on_black : attribute
val on_red : attribute
val on_green : attribute
val on_yellow : attribute
val on_blue : attribute
val on_magenta : attribute
val on_cyan : attribute
val on_white : attribute
val apply : attribute list -> string -> string
val set_autoreset : bool -> unit