package miaou-driver-matrix
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Miaou high-performance terminal driver with diff rendering
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.5.2.tar.gz
md5=60a3b9f181f24572a06a9492532bfdda
sha512=fcc35a275066be2900e6201782faf47503076fa4640f08cf78067835a6f447b74613009e55b2ac799adb7ca46f1bffa261fc5971753f2cc3c6bef327511c7ef6
doc/miaou-driver-matrix.driver/Miaou_driver_matrix/Matrix_cell/index.html
Module Miaou_driver_matrix.Matrix_cellSource
Terminal cell representation for the Matrix driver.
A cell represents a single character position on the terminal with its associated styling (colors, bold, dim, etc.).
Source
type style = {fg : int;(*Foreground color: -1 = default, 0-255 = 256-color palette
*)bg : int;(*Background color: -1 = default, 0-255 = 256-color palette
*)bold : bool;dim : bool;underline : bool;reverse : bool;url : string;(*OSC 8 hyperlink URL, "" = no link
*)
}Style attributes for a cell.
Source
type t = {mutable char : string;(*UTF-8 grapheme cluster, " " for empty/space
*)mutable style : style;
}A terminal cell containing a character and its style.
Invalidate a cell so it never equals any valid cell. Used for force-redraw scenarios where we need to ensure the diff outputs changes even for cells that might otherwise appear unchanged. Sets char to \x00 which never appears in normal content.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>