[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 element dimensions to RenderResult via info map master
Adds a `info: Map<string, RenderInfo>` field to RenderResult that provides post-layout bounding boxes for every named element. Each RenderInfo contains dimensions (x, y, width, height) zero-indexed from the layout root. On the C side, element names and Clay_ElementIds are recorded during layout, then resolved via Clay_GetElementData() after Clay_EndLayout() to extract computed bounding boxes. New WASM exports expose the results to TypeScript.
Author Charles Lowell Date (Apr 17, 2026, 8:19 PM UTC) Commit ae2023dc ae2023dc7e1fe6f8cb3b67cce95e61ce951ec0de Parent 9adb34b0 9adb34b04b987ac1f45c6b376b543ccc2f20b524