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
/
src
/
at
feat/render-info
17 files
Charles Lowell
✨ add element dimensions to RenderResult via info map
3mo ago
ae2023dc
buffer.c
✨ 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
buffer.h
🎉 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
cell.c
🐛 allow cell fill for different initialization types This forces a render of all cells on the very first frame, which is perfectly acceptable.
3 months ago
cell.h
🐛 allow cell fill for different initialization types This forces a render of all cells on the very first frame, which is perfectly acceptable.
3 months ago
clayterm.c
✨ 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
clayterm.h
✨ 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
input.c
✨ add termcodes module and make CursorEvent 1-based Rename csi.ts to termcodes.ts and add ESC(), SHOWCURSOR(), HIDECURSOR(), ALTSCREEN(), and MAINSCREEN() helpers. Make CursorEvent.row/column 1-based to match DSR native format. Replace all raw escape sequences in the demo with termcodes. Use DECSC/DECRC (ESC 7/8) for cursor save/restore instead of SCO (CSI s/u).
3 months ago
input.h
✨ parse DSR cursor position and rename row offset to top Add CursorEvent with 0-based top/left coords by parsing the terminal's DSR response (\x1b[row;colR). Rename createTerm's row option to top so cursor.top feeds directly into createTerm({ top: cursor.top }).
3 months ago
mem.c
✨ add terminal input parser Add a complete VT/ANSI terminal input parser that converts VT200/SGR/urxvt mouse protocols, UTF-8 decoding, and escape sequence into input events
3 months ago
mem.h
✨ add terminal input parser Add a complete VT/ANSI terminal input parser that converts VT200/SGR/urxvt mouse protocols, UTF-8 decoding, and escape sequence into input events
3 months ago
module.c
✨ add terminal input parser Add a complete VT/ANSI terminal input parser that converts VT200/SGR/urxvt mouse protocols, UTF-8 decoding, and escape sequence into input events
3 months ago
trie.c
✨ add terminal input parser Add a complete VT/ANSI terminal input parser that converts VT200/SGR/urxvt mouse protocols, UTF-8 decoding, and escape sequence into input events
3 months ago
trie.h
✨ add terminal input parser Add a complete VT/ANSI terminal input parser that converts VT200/SGR/urxvt mouse protocols, UTF-8 decoding, and escape sequence into input events
3 months ago
utf8.c
✨ add terminal input parser Add a complete VT/ANSI terminal input parser that converts VT200/SGR/urxvt mouse protocols, UTF-8 decoding, and escape sequence into input events
3 months ago
utf8.h
✨ add terminal input parser Add a complete VT/ANSI terminal input parser that converts VT200/SGR/urxvt mouse protocols, UTF-8 decoding, and escape sequence into input events
3 months ago
wcwidth.c
🎉 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
wcwidth.h
🎉 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