jon.recoil.org

Module Terminal.Style

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

val code : Terminal.Style.t -> string

Get the ANSI escape code for the given style.

Constructing ANSI styles:

val none : Terminal.Style.t
val bold : Terminal.Style.t
val faint : Terminal.Style.t
val italic : Terminal.Style.t
val underline : Terminal.Style.t
val reverse : Terminal.Style.t