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
val sexp_of_colour : colour -> Ppx_sexp_conv_lib.Sexp.t
val compare_colour : colour -> colour -> Base.Int.t
type t = {
  1. bold : Base.Bool.t;
  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 -> Base.Int.t
val default : t

white on black, normal weight