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
ref/wasm-opt
19 files
Nate Moore
ref(wasm): split layout and input entrypoints
1mo ago
6bef3f5d
buffer.c
ref(wasm): split layout and input entrypoints
1 month 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
🎨 fix clang-format in API comment block
3 months ago
clayterm.h
✨ 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
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-input.c
ref(wasm): split layout and input entrypoints
1 month ago
module-layout.c
ref(wasm): split layout and input entrypoints
1 month 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