You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sdlk log / gum log: zero-dependency structured logger with colored level tags, --time, --structuredk=v pairs, and --file.
gum version: prints sdlk gum <version> (Retina drop-in).
Live theme switching & CLI ergonomics:
Press Ctrl+T in any interactive Retina widget to live-cycle all 5 themes (tokyo, catppuccin, nord, amber, light) and Ctrl+S to persist to ~/.config/sdl-kitty/env.
sdlk config (show/get/set/unset/path), sdlk mame --last/--recent/--list --json, sdlk doctor --json with MAME snapshot coverage checks & actionable fixes, sdlk env --json/--fish, sdlk run --timeout, sdlk completions bash|zsh|fish, and typo suggestions (Did you mean: ...).
Docs & testing: new docs/widgets-and-gum.md and docs/sdlk-cli.md; expanded tests/kitty_sdlk_widgets_test.py to 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 offscreen SDL_Texture, skipping per-frame gradient/shadow recomputation.
O(visible) viewport culling in progress log (2000-line ring buffer), table, and pager.
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 before SDL_Quit(), and disable mouse probing (SDL_KITTY_MOUSE=0) on static inline cards so escape replies never leak onto the caller's shell prompt.