printbox
PrintBox.Style
type color =
| Black
| Red
| Yellow
| Green
| Blue
| Magenta
| Cyan
| White
type t = {
bold : bool;
bg_color : color option;
backgroud color
fg_color : color option;
foreground color
preformatted : bool;
where supported, the text rendering should be monospaced and respect whitespace
}
Basic styling (color, bold).
val default : t
val set_bg_color : color -> t -> t
val set_fg_color : color -> t -> t
val set_bold : bool -> t -> t
val set_preformatted : bool -> t -> t
val bg_color : color -> t
val fg_color : color -> t
val bold : t
val preformatted : t