package matrix

Build not checked
  1. Overview
  2. Docs
Fast, modern terminal toolkit for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

mosaic-0.2.0.tbz
sha256=ab48bc02082f9c1deea0769a13c2935df529536630745ec3a3d718f59656109b
sha512=c0f3c490e13ca60217d9d59c9bfdf3ada12e1565f04fe2a623e7c94298d519393eabe404e2317726712bf5e7fa860780a07494e77994ac05032e71f535c56910

doc/matrix.grid/Matrix_grid/Unsafe/index.html

Module Matrix_grid.UnsafeSource

Sourceval get_codepoint : t -> int -> int
Sourceval get_attrs : t -> int -> int
Sourceval get_fg : t -> int -> Ansi.Color.t
Sourceval get_bg : t -> int -> Ansi.Color.t
Sourceval cell_text_length : t -> int -> int
Sourceval blit_cell_text : t -> int -> bytes -> pos:int -> int
Sourceval cell_width : t -> int -> int
Sourceval is_empty : t -> int -> bool
Sourceval cells_equal : t -> int -> t -> int -> bool
Sourceval is_picture : t -> int -> bool

is_picture g idx is picture_at g idx <> None, unchecked.

Sourceval tile : t -> int -> tile

tile g idx is the tile of the picture cell idx, unchecked; it is meaningless for a cell that is not a picture cell.