Module Textutils__Console.Ansi

Handling of ansi codes.

val kill_line : unit ‑> unit
val bell : unit ‑> unit
val home_cursor : unit ‑> unit
val save_cursor : unit ‑> unit
val unsave_cursor : unit ‑> unit
type color = [
| `Black
| `Red
| `Green
| `Yellow
| `Blue
| `Magenta
| `Cyan
| `White
]
type attr = [
| `Bright
| `Dim
| `Underscore
| `Reverse
| color
| `Bg of color
]
val printf : attr list ‑> ('aCore.Out_channel.t, unit) Core.format ‑> 'a
val eprintf : attr list ‑> ('aCore.Out_channel.t, unit) Core.format ‑> 'a
val output_string : attr list ‑> Core.Out_channel.t ‑> string ‑> unit
val output : attr list ‑> Core.Out_channel.t ‑> string ‑> int ‑> int ‑> unit
val string_with_attr : attr list ‑> string ‑> string