B00_std.TtyANSI terminal interaction.
The type for terminals. Either no terminal, a dumb one or a named terminal from the TERM environment variable.
val of_fd : Unix.file_descr -> tof_fd fd determines the terminal for file descriptor fd by using Unix.isatty fd and consulting the TERM environment variable.
The type for terminal capabilities. Either no capability or ANSI capability.
The type for ANSI colors.
type style = [ | `Bold |
| `Faint |
| `Italic |
| `Underline |
| `Blink of [ `Slow | `Rapid ] |
| `Reverse |
| `Fg of [ color | `Hi of color ] |
| `Bg of [ color | `Hi of color ] |
]The type for ANSI styles.
styled_str cap styles s styles s according to styles and cap.