package b0
Software construction care
Install
Dune Dependency
Authors
Maintainers
Sources
b0-0.0.0.tbz
sha256=dadde8cfa62be9dabd805fc190b415427b4699ffe3458c153e2f3f9cc5c9b9b4
md5=f96ac96fb0182f2b97dbe9ded452544b
doc/b0.std/B0_std/Tty/index.html
Module B0_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
| `Bg 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