Skip to content

v0.4.0

Choose a tag to compare

@cashmeredev cashmeredev released this 07 Apr 20:12
v0.4.0

What's New

New Features

  • Full Sixel support — the library now auto-detects Sixel via DA1 query and works in foot, xterm, Konsole, mlterm, mintty
  • Text sizing protocol (OSC 66) — render org headings at scaled sizes (2x, 1.5x, 1.2x) with proper fold/unfold and scroll handling
  • agent-shell support — images now display correctly in agent-shell sessions (thanks Lenbok, PR #3)

Bug Fixes

  • Column guard for text sizing — prevents out-of-bounds rendering
  • CPU optimization — reduced redundant redraws in the text sizing path
  • Preview mode stability — improved handling of conflicting packages (org-modern, org-appear, olivetti)
  • Sixel backend parity — better interop with the Kitty protocol path
  • Ghost glyph fix — skip heading overlay emission when folded to the same visual line
  • ECH erase + pre-erase pattern (credit: mdfried) for cleaner column clearing
  • Force redisplay before position queries — fixes initial image placement

Notes

  • The Kitty image protocol remains superior in speed and quality (truecolor vs 256 colors). If your terminal supports both, prefer Kitty.
  • OSC 66 text sizing requires Kitty >= 0.40.0 (the only terminal currently implementing it with scale support)

Blog post: https://cashmere.rs/blog/kitty-graphicsel-v040-sixel-text-sizing-and-agent-shell