package current_ansi
ANSI escape sequence parser
Install
Dune Dependency
Authors
Maintainers
Sources
current-v0.3.tbz
sha256=c238a9abf176c1208577c74e884eed763a37f207b4571e7e7fde3d575cb238ec
sha512=888ed07200847055ea950dedf8148d87dfc5178bf873b45354b1bffd11dc128c4759c89cf4170e6252b685deb8fb931a95acf349623cbe6ea1207feca76e1ba6
doc/current_ansi/Current_ansi/index.html
Module Current_ansi
Source
An ANSI escape sequence parser.
process t data
reads in data
and generates HTML output, parsing escape sequences as it goes. If data
ends with a partial sequence, it remembers this and will resume processing on the next call to process
.
Some default CSS rules to make the HTML output appear in colour.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>