package hardcaml_waveterm

  1. Overview
  2. Docs

Styling information

type colour =
  1. | Black
  2. | Red
  3. | Green
  4. | Yellow
  5. | Blue
  6. | Magenta
  7. | Cyan
  8. | White

colour

val sexp_of_colour : colour -> Ppx_sexp_conv_lib.Sexp.t
val compare_colour : colour -> colour -> Import.int
type t = {
  1. bold : Import.bool;
  2. fg : colour;
  3. bg : colour;
}

foreground/backgound colours and weight (bold)

val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val compare : t -> t -> Import.int
val default : t

white on black, normal weight

OCaml

Innovation. Community. Security.