package containers

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Simple colors in terminals

type color = [
  1. | `Black
  2. | `Blue
  3. | `Cyan
  4. | `Green
  5. | `Magenta
  6. | `Red
  7. | `White
  8. | `Yellow
]
type style = [
  1. | `BG of color
  2. | `Bold
  3. | `FG of color
  4. | `Reset
  5. | `Underline
]
val color : color -> t -> t
val style_l : style list -> t -> t
OCaml

Innovation. Community. Security.