package matrix
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Fast, modern terminal toolkit for OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
mosaic-0.1.0.tbz
sha256=9e4e90d17f9b2af1b07071fe425bc2c519c849c4f1d1ab73cde512be2d874849
sha512=06e9c4a741590942e81a27738d0b5c0413fafec8cf3b7dae047ad69f155e7b718aa4223818dc161b7d028efffcfd3365905e264d6fd31d453910ddfa91dcf9b9
doc/matrix.ansi/Ansi/Writer/index.html
Module Ansi.WriterSource
Byte buffer writers.
Byte buffer writers for escape sequence emission.
A writer wraps a Stdlib.Bytes.t buffer and manages a write position. Writers are mutable and not thread-safe: use one writer per thread.
Writers
The type for byte buffer writers.
make buf is a writer targeting buf. The buffer must be large enough to contain all generated output; no bounds checking is performed.
make_counting () is a writer that tracks output length without writing any bytes. Useful for measuring escape sequence sizes before allocating a buffer.
Inspection
reset_pos w resets the write position to zero. The underlying buffer is not cleared.
Writing
write_char w c appends character c. In counting mode, increments the position without writing.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page