alpha
Login
or
Join now
bomb.sh
/
tty
Star
5
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
[READ-ONLY] Mirror of https://github.com/bombshell-dev/tty. Platform independent 2D layout engine for terminal applications based on Clay
Star
5
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
tty
/
test
/
at
feat/render-info
7 files
Charles Lowell
✨ add element dimensions to RenderResult via info map
3mo ago
ae2023dc
input.test.ts
✨ add element dimensions to RenderResult via info map 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.
3 months ago
pointer.test.ts
✨ add pointer events and interactive hover to Clay render pipeline Clay's pointer hit-testing is now wired through render() via RenderOptions, returning pointerenter/pointerleave/pointerclick events by diffing Clay_GetPointerOverIds() across frames. The demo keyboard shows hover highlights on keys, semantic element IDs, and configurable event log filters.
3 months ago
print.ts
✨ add line rendering mode for pipe-friendly output Add { mode: "line" } option to render() that emits newline-separated rows instead of CUP positioning sequences. Line mode writes every cell and primes the front buffer, so subsequent diff renders work without a full redraw.
3 months ago
settings.test.ts
✨ add clear option to alternateBuffer Add `{ clear?: boolean }` option to `ALTSCREEN()` and `alternateBuffer()`. When `clear` is false, uses xterm private mode 47 to switch without clearing the alternate buffer contents. Closes #13
3 months ago
suite.ts
🎉 initial commit WASM-based terminal renderer powered by Clay UI layout engine. Includes command buffer protocol for TS→C communication, double-buffered ANSI output, and Deno test harness.
4 months ago
term.test.ts
✨ add element dimensions to RenderResult via info map 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.
3 months ago
validate.test.ts
💄 format codebase and fix validate test render result
3 months ago