Module Containers_pp.Term_color

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