package stdune

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = [
  1. | `Fg_default
  2. | `Fg_black
  3. | `Fg_red
  4. | `Fg_green
  5. | `Fg_yellow
  6. | `Fg_blue
  7. | `Fg_magenta
  8. | `Fg_cyan
  9. | `Fg_white
  10. | `Fg_bright_black
  11. | `Fg_bright_red
  12. | `Fg_bright_green
  13. | `Fg_bright_yellow
  14. | `Fg_bright_blue
  15. | `Fg_bright_magenta
  16. | `Fg_bright_cyan
  17. | `Fg_bright_white
  18. | `Bg_default
  19. | `Bg_black
  20. | `Bg_red
  21. | `Bg_green
  22. | `Bg_yellow
  23. | `Bg_blue
  24. | `Bg_magenta
  25. | `Bg_cyan
  26. | `Bg_white
  27. | `Bg_bright_black
  28. | `Bg_bright_red
  29. | `Bg_bright_green
  30. | `Bg_bright_yellow
  31. | `Bg_bright_blue
  32. | `Bg_bright_magenta
  33. | `Bg_bright_cyan
  34. | `Bg_bright_white
  35. | `Bold
  36. | `Dim
  37. | `Italic
  38. | `Underline
]
val to_dyn : t -> Dyn.t
val escape_sequence : t list -> string

Ansi escape sequence that set the terminal style to exactly these styles

OCaml

Innovation. Community. Security.