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
rr/memmove-shim
7 files
Charles Lowell
✨ add RenderInfo with lazy element bounds lookup
3mo ago
a9eec481
input.test.ts
✨ add RenderInfo with lazy element bounds lookup 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.
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 RenderInfo with lazy element bounds lookup 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.
3 months ago
validate.test.ts
♻️ rename Op discriminant to `directive`, open() `name` to `id` Restructures the Op type so the discriminant field is `directive` instead of `id`, freeing `id` for the element identity string. The `name` parameter on `open()` and `OpenElement` becomes `id`, aligning with Clay's terminology. Drops the `idx++` seed from Clay_HashString — element IDs are now hashed with seed 0 and uniqueness is the caller's responsibility. Duplicate IDs within a frame are undefined behavior. Removes INV-7 (element identity disambiguation) from the spec and updates Sections 8.3.1, 9.3, and 10.3 accordingly. Closes #16
3 months ago