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/virtualizer-v1
17 files
Taras Mankovski
✨ add @clayterm/virtualizer v1 (PRs 1–3)
3mo ago
7462e0df
buffer.c
✨ add @clayterm/virtualizer v1 (PRs 1–3) Implement the virtualizer package for viewport virtualization over large terminal text output. This covers PRs 1–3 of the implementation plan: - PR 1: Export createDisplayWidth from renderer (WASM per-codepoint wcwidth, R.WIDTH.* tests) - PR 2: Virtualizer core — appendLine, resolveViewport, ring buffer, ANSI scanner, wrap walker, getLineDisplayWidth (~66 tests) - PR 3: scrollBy + scrollToFraction with all deferred scroll-dependent tests (~92 tests total) resize() still throws "not implemented" — deferred to PR 4.
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 @clayterm/virtualizer v1 (PRs 1–3) Implement the virtualizer package for viewport virtualization over large terminal text output. This covers PRs 1–3 of the implementation plan: - PR 1: Export createDisplayWidth from renderer (WASM per-codepoint wcwidth, R.WIDTH.* tests) - PR 2: Virtualizer core — appendLine, resolveViewport, ring buffer, ANSI scanner, wrap walker, getLineDisplayWidth (~66 tests) - PR 3: scrollBy + scrollToFraction with all deferred scroll-dependent tests (~92 tests total) resize() still throws "not implemented" — deferred to PR 4.
3 months ago
clayterm.h
♻️ make row a 1-based render option matching DSR native format Move the row offset from a constructor parameter to a render-time option. Row is now 1-based (matching ECMA-48 DSR/CPR format) so callers can pass the queried cursor position directly without conversion. Remove line mode from the inline region demo in favor of raw newline allocation followed by CUP rendering for all frames.
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