package ansi
ANSI escape sequence parser
Install
Dune Dependency
Authors
Maintainers
Sources
ansi-0.7.0.tbz
sha256=672b6a131eebc7d1291a4ad9ad4414a89e251e181e67e83b4ec90cb578e4a8a4
sha512=314bc4ef3ce6fd23dd46033478e6e9fd2307704697603b6d20354f4eaf69666b16c0bdd960e5b347f587465e60f42bb3f21ac1e266cdebd042709d9125791bf0
README.md.html
OCurrent ANSI escape parser
Program output (such as build logs) often includes ANSI escape codes to colour and style the output. These codes are intended for terminals and are distracting when displayed as text e.g. in web pages. This library inteprets some of the common codes and can convert them to HTML, producing basic styled output (e.g. highlighting errors in red).
It is intended to be used by OCurrent, but may be useful in other projects too.
Licensing
The OCurrent ANSI parser is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>