jon.recoil.org

Module Terminal_ansi.Style

type t

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_ansi.Style.t -> string

Get the ANSI escape code for the given style.

Constructing ANSI styles:

val underline : Terminal_ansi.Style.t
val reverse : Terminal_ansi.Style.t