Skip to content

Commit 8e7cb9e

Browse files
committed
add rio-grid readme
1 parent b36815a commit 8e7cb9e

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

rio-grid/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# rio-grid
2+
3+
Rio's shared grid-emission layer: turns a row of terminal cells plus its
4+
resolved styles into the GPU cell primitives (`CellBg` / `CellText`)
5+
that [Rio](https://github.com/raphamorim/rio)'s renderer draws. One
6+
pass emits backgrounds, one run-building pass emits glyphs (shaping
7+
runs, drawable sprites, underlines), with selection, search-highlight,
8+
and hint-label handling applied per row.
9+
10+
It sits between the terminal core
11+
([`rio-vt`](https://crates.io/crates/rio-vt)) and the renderer, and is
12+
consumed by both the Rio terminal itself and `libsugarloaf`'s C ABI so
13+
embedders share the exact same emission logic.

0 commit comments

Comments
 (0)