type t = [ `Dumb | `Term of string ] option
type cap = [
| `Ansi
| `None
]
type color = [
| `Black
| `Blue
| `Cyan
| `Default
| `Green
| `Magenta
| `Red
| `White
| `Yellow
]
type style = [
| `Bg of
[ `Black
| `Blue
| `Cyan
| `Default
| `Green
| `Hi of color
| `Magenta
| `Red
| `White
| `Yellow ]
| `Blink of [ `Rapid | `Slow ]
| `Bold
| `Faint
| `Fg of
[ `Black
| `Blue
| `Cyan
| `Default
| `Green
| `Hi of color
| `Magenta
| `Red
| `White
| `Yellow ]
| `Italic
| `Reverse
| `Underline
]
val styled_str : cap -> style list -> string -> string
val strip_escapes : string -> string