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
scroll
8 files
Charles Lowell
📝 add scroll specification and implementation
3mo ago
ae6bfcf2
input.test.ts
📝 add scroll specification and implementation Introduces specs/scroll-spec.md (v0.2) with caller-owned scroll model. Clip API changes from { horizontal, vertical } to { x?, y? } with numeric offsets. Adds scrollDelta on ElementInfo for wheel delta reporting. Adds RenderOptions.event for input event integration. Includes scroll demo with ~10k lines of lorem markdown.
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
scroll.test.ts
📝 add scroll specification and implementation Introduces specs/scroll-spec.md (v0.2) with caller-owned scroll model. Clip API changes from { horizontal, vertical } to { x?, y? } with numeric offsets. Adds scrollDelta on ElementInfo for wheel delta reporting. Adds RenderOptions.event for input event integration. Includes scroll demo with ~10k lines of lorem markdown.
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
📝 add scroll specification and implementation Introduces specs/scroll-spec.md (v0.2) with caller-owned scroll model. Clip API changes from { horizontal, vertical } to { x?, y? } with numeric offsets. Adds scrollDelta on ElementInfo for wheel delta reporting. Adds RenderOptions.event for input event integration. Includes scroll demo with ~10k lines of lorem markdown.
3 months ago