package containers
A modular, clean and powerful extension of the OCaml standard library
Install
Dune Dependency
Authors
Maintainers
Sources
containers-3.15.tbz
sha256=92143ceb4785ae5f8a07f3ab4ab9f6f32d31ead0536e9be4fdb818dd3c677e58
sha512=5fa80189d0e177af2302b48e72b70299d51fc36ac2019e1cbf389ff6a7f4705b10089405b5a719b3e4845b0d1349a47a967f865dc2e4e3f0d5a0167ef6c31431
doc/containers/CCFormat/ANSI_codes/index.html
Module CCFormat.ANSI_codes
Source
ANSI escape codes. This contains lower level functions for them.
An ANSI color
A style. Styles can be composed in a list.
clear_line
is an escape code to clear the current line. It is very useful for progress bars; for example:
let pp_progress i =
Printf.printf "%sprogress at %d%!" ANSI_codes.clear_line i
if called repeatedly this will print successive progress messages on a single line.
The escape code to reset style (colors, bold, etc.)
string_of_style st
is an escape code to set the current style to st
. It can be printed as is on any output that is a compatible terminal.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>