package b0
Software construction and deployment kit
Install
Dune Dependency
Authors
Maintainers
Sources
b0-0.0.3.tbz
sha512=d24b09eb520b8b91a1e5715badc9f5bcd6a6ec49c047f719a07afef6b835c128dc63e00c3be73d5353b037f4c3c9f2889e40666b30e297e872e4d011f098394c
doc/b0_b00_std/B00_std/Tty/index.html
Module B00_std.Tty
ANSI terminal interaction.
Terminals
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 -> t
of_fd fd
determines the terminal for file descriptor fd
by using Unix.isatty
fd
and consulting the TERM
environment variable.
Capabilities
The type for terminal capabilities. Either no capability or ANSI capability.
ANSI escapes and styling
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
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page