Skip to content

sdl-kitty v0.7.1

Choose a tag to compare

@github-actions github-actions released this 29 Nov 18:52
· 32 commits to main since this release

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 into sdlk file source previews, sdlk pager (with unified diff +/-/@@ auto-detection), and sdlk format code 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 SIGWINCH terminal resize & fill-horizontal / vertical-optimized layout: removed static SDL_KITTY_FB_FIXED/SDL_KITTY_VIEWPORT locks from interactive sdlk runners, enabled SDL_WINDOW_RESIZABLE with 40ms SDL_KITTY_RESIZE_SETTLE_MS, added responsive_font_size() (16–28px), and updated compute_glass_card_bounds() + GlassFrameCache so 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 expanded tests/kitty_sdlk_widgets_test.py to 50 automated assertions including live SIGWINCH resize tests (1000×640 → 1560×920 → 760×480).

Fixed

  • macOS bash 3.2 sdlk upgrade exit warning (scripts/sdlk): shell-escape literal tmpdir at trap registration time and clear trap - RETURN in cmd_upgrade and _progress_wrap_cmd, preventing tmpdir: unbound variable under set -u.
  • Python 3.12 test compatibility (tests/kitty_sdlk_widgets_test.py): clear p.stdin = None after p.stdin.close() prior to communicate().