[READ-ONLY] Mirror of https://github.com/bombshell-dev/tty. Platform independent 2D layout engine for terminal applications based on Clay bomb.sh/docs/tty
Something went wrong. Try again.
✨ add RenderInfo with lazy element bounds lookup master
Adds an `info: RenderInfo` field to RenderResult that provides on-demand access to element bounding boxes after layout. Callers query by element id via `info.get(id)`, which calls into WASM to hash the id and look up the computed bounds via Clay_GetElementData(). A single WASM export handles the lookup — no tables or globals. Uses the typedef struct infrastructure for BoundingBox field offsets.
Author Charles Lowell Date (Apr 17, 2026, 9:40 PM UTC) Commit a9eec481 a9eec481507fd463a0e7099da5656d44c4b53c11 Parent f6cc880a f6cc880a2d78ad7e9867a1b845c9a06e0bb098fb