Module Terminal.StyleSource

The type of terminal styles: values that can be printed to a terminal in order to change the way that it renders text.

Sourceval code : t -> string

Get the ANSI escape code for the given style.

Constructing ANSI styles:

Sourceval none : t
Sourceval bold : t
Sourceval faint : t
Sourceval italic : t
Sourceval underline : t
Sourceval reverse : t
Sourceval fg : Color.t -> t
Sourceval bg : Color.t -> t