Repository navigation
Releases
Releases · visionik/sdl-kitty
v0.9.0
What's Changed
- feat(sdlk): 20 UI styles, OS Time Machine, live Retina charts & a=c scroll-compose by @visionik in #10
- Add automated multi-terminal PTY E2E & pixel-exact matrix test by @visionik in #11
- feat+perf+ax: zero-TTY --export-png, chart polish, AX JSON/schema/facts CLI, -Werror cleanup & submodule bumps by @visionik in #12
- fix(sdlk): live SIGWINCH pane resize for panels + resolve extends in sdlk facts by @visionik in #13
Full Changelog: v0.8.4...v0.9.0
v0.8.4
v0.8.3
v0.8.2
v0.8.1
v0.8.0
sdl-kitty v0.7.1
Added
- Zero-dependency multi-language syntax highlighting (
examples/sdl_kitty_gum_widgets.hpp): tokenizes keywords, strings, numbers, preprocessor directives,@decorators, types, function calls, and comments across C/C++, Rust, Go, Python, Swift, JS/TS, Shell, SQL, and JSON/TOML — wired intosdlk filesource previews,sdlk pager(with unified diff+/-/@@auto-detection), andsdlk formatcode cards & fenced blocks. - Rich Markdown rendering in
sdlk format: inline`code`pills (including inside##/###headings),**bold**emphasis, emerald vector- [x]/- [ ]checkboxes, and proportional glass Markdown tables. - Live
SIGWINCHterminal resize & fill-horizontal / vertical-optimized layout: removed staticSDL_KITTY_FB_FIXED/SDL_KITTY_VIEWPORTlocks from interactivesdlkrunners, enabledSDL_WINDOW_RESIZABLEwith 40msSDL_KITTY_RESIZE_SETTLE_MS, addedresponsive_font_size()(16–28px), and updatedcompute_glass_card_bounds()+GlassFrameCacheso every widget always fills horizontally while optimizing vertical card height for its content and centering cleanly inside the ambient backdrop. - Click-to-caret mouse editing in
sdlk write: clicking anywhere inside the editor well places the cursor at the exact proportional-font row and column. - README & hero showcase refresh: added 6-panel Retina showcase (
docs/assets/gum-suite.png) and expandedtests/kitty_sdlk_widgets_test.pyto 50 automated assertions including liveSIGWINCHresize tests (1000×640 → 1560×920 → 760×480).
Fixed
- macOS bash 3.2
sdlk upgradeexit warning (scripts/sdlk): shell-escape literaltmpdirat trap registration time and cleartrap - RETURNincmd_upgradeand_progress_wrap_cmd, preventingtmpdir: unbound variableunderset -u. - Python 3.12 test compatibility (
tests/kitty_sdlk_widgets_test.py): clearp.stdin = Noneafterp.stdin.close()prior tocommunicate().
sdl-kitty v0.7.0
Added
- 100% standalone, zero-dependency Retina
sdlk gumdrop-in suite (14/14 Charmgumsubcommands —alias gum='sdlk gum'):- Tier 1 (Full Interactive Retina Glass Panels —
examples/sdl_kitty_gum_widgets.hpp):sdlk file/gum file: Finder-style file browser with vector folder/image/code/file icons, breadcrumb header,.hidden toggle,/fuzzy filter,h/lnavigation,--all/--directory/--file, and live right-pane PNG/BMP artwork, syntax-tinted code, and directory previews.sdlk table/gum table: RFC-4180 CSV/TSV data table (--separator,--return-column,--print) with clickable numeric/lexicographic sortable column headers, proportional auto-widths,/cross-column filter, andO(visible)viewport culling.sdlk write/gum write: multi-line Retina glass editor (--show-line-numbers,--char-limit,--placeholder,--value,Ctrl+Vclipboard paste,Ctrl+D/Ctrl+Enter/Submitpill).sdlk pager/gum pager: smooth-scrollingO(visible)document & diff viewer (--show-line-numbers, git-diff & Markdown syntax coloring, live/search with match-count pill andn/Njump,j/k/Space/g/G, glass scrollbar & fade vignettes).sdlk confirm/gum confirm: centered Yes/No glass modal (--affirmative,--negative,--default,--json, instantY/Nkeys).sdlk input/gum input: Raycast-style single-line glass input (--placeholder,--value,--password,--char-limit,Ctrl+Vpaste).sdlk spin/gum spin: liquid-gradient indeterminate comet spinner wrapping any command (--title,--show-output,--show-error).sdlk ask/gum choose/gum filter:--limit N,--selected A,B,Ctrl+Aselect-all /Ctrl+Dclear-all in--multimode,--print,--json,--stdin,--default, and255 → 130cancel exit code parity.sdlk slider: liquid-gradient numeric range slider (--min,--max,--step,--value,--unit).sdlk progress -- <cmd...>: one-liner command wrapper with automatic CMake/Ninja/CTest progress parsing,--indeterminatesliding comet bar,--auto-close, andj/k/PgUp/PgDnscrollable activity log with auto-follow pause pill.
- Tier 2 (Inline Scrollback Retina Cards via
SDL_KITTY_LEAVE_IMAGES=1):sdlk format/gum format: renders Markdown & code as crisp inline glass cards on Kitty TTYs (or clean ANSI/text when piped;--ansi/--retina).sdlk style/gum style: renders glass banner cards (--border rounded|double|thick|normal|none) on TTYs, or exact UTF-8 Unicode boxes when captured inside$(...)for composition.sdlk join/gum join: UTF-8 + ANSI-aware horizontal/vertical block stitcher (--horizontal,--vertical,--retina).
- Tier 3 (Fast Native Text):
sdlk log/gum log: zero-dependency structured logger with colored level tags,--time,--structuredk=vpairs, and--file.gum version: printssdlk gum <version> (Retina drop-in).
- Tier 1 (Full Interactive Retina Glass Panels —
- Live theme switching & CLI ergonomics:
- Press
Ctrl+Tin any interactive Retina widget to live-cycle all 5 themes (tokyo,catppuccin,nord,amber,light) andCtrl+Sto persist to~/.config/sdl-kitty/env. sdlk config(show/get/set/unset/path),sdlk mame --last/--recent/--list --json,sdlk doctor --jsonwith MAME snapshot coverage checks & actionable fixes,sdlk env --json/--fish,sdlk run --timeout,sdlk completions bash|zsh|fish, and typo suggestions (Did you mean: ...).
- Press
- Docs & testing: new docs/widgets-and-gum.md and docs/sdlk-cli.md; expanded
tests/kitty_sdlk_widgets_test.pyto 48 automated CLI + Kitty PTY assertions verified under both Release and ASan+UBSan.
Performance
- 550× lower idle CPU in interactive Retina widgets via event-driven
poll()wakeup (wait_for_input_ms) + 530ms caret-blink sleep (-96.5%in--filter). GlassFrameCache: caches the static ambient glow + frosted card + drop shadow in an offscreenSDL_Texture, skipping per-frame gradient/shadow recomputation.O(visible)viewport culling inprogresslog (2000-line ring buffer),table, andpager.- Fast CLI startup & ROM scanning: eliminated
O(N²)dedup and process-substitution forks (-45.9%at 1,000 ROMs) and pre-indexed flat/subdir snapshot directories (-27.0%doctor,-15.2%mame --list).
Fixed
- Clean TTY exit on fast 1-frame inline cards: drain late-arriving terminal probe replies (
XTVERSION,DA1,XTWINOPS, Kitty APC) +tcflush(TCIFLUSH)while still in raw no-echo mode beforeSDL_Quit(), and disable mouse probing (SDL_KITTY_MOUSE=0) on static inline cards so escape replies never leak onto the caller's shell prompt.