package hardcaml_waveterm

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

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 -> Sexplib0.Sexp.t
val compare_colour : colour -> colour -> Base.int
type t = {
  1. bold : Base.bool;
  2. fg : colour;
  3. bg : colour;
}

foreground/backgound colours and weight (bold)

val sexp_of_t : t -> Sexplib0.Sexp.t
include Ppx_compare_lib.Comparable.S with type t := t
val compare : t Base__Ppx_compare_lib.compare
val default : t

white on black, normal weight

OCaml

Innovation. Community. Security.