62 commits since v0.9.1. 1,032 tests passing.
v0.10.0 is a milestone release delivering substantial performance improvements across terminal input processing and rendering pipelines, introducing configurable Unicode Variation Selector 16 (VS16) emoji presentation width control, hardening the Sixel graphics engine with transactional lifecycle guarantees, and resolving 61 bug tracker entries (#441–#501) across memory safety, IPC protocol validation, process lifecycles, and terminal emulation fidelity.
advanceBatch): Replaced byte-by-byte virtual method dispatch loops in InputParser with a vectorized batching scanner (advanceBatch). Contiguous runs of printable ASCII characters are scanned in a tight loop and written directly to the screen grid in single operations, dramatically reducing dispatch overhead during heavy terminal output (e.g. cat, compiler logs, find).Screen.writeStr to stream uninterrupted ASCII byte runs directly into grid cells without per-codepoint decoding or branch evaluation.isPaneValid), eliminating CPU bottlenecks when running multiple active panes.variation-selector-always-wide Configuration: Added the variation-selector-always-wide boolean option (default: off), configurable via ~/.szn.conf or set-option -g variation-selector-always-wide on.U+FE0F) are promoted to 2 cells with a dedicated padding cell, matching modern terminals (e.g. Kitty, Alacritty) that expand emoji presentation sequences.Screen.writeChar, status measurement, copy mode selection, and TTY output rendering.shiftSixelAnchors to only adjust images intersecting active scroll regions (DECSTBM), preventing off-region graphics from drifting during partial scrollback (#492).clearSixelMarkerCells): Erasing screen areas (ED 0, ED 1, ED 2) explicitly purges surviving sixel marker cells so stale IDs do not linger across screen repaints (#493).placeSixelImage takes strict ownership of DCS byte buffers; on any allocation failure or scroll error, image memory is immediately freed, refcounts and slot pointers are zeroed, and any partially-written marker cells are rolled back (#501).display_clients to ArrayList(*DisplayClient), ensuring pointer stability across dynamic client connections, disconnections, and list resizes (#450).cell_size pixel dimensions to valid ranges ([1, 1024]), rejecting corrupt or malicious packets from crashing the server (#496).InputParser.deinit, ensuring internal DCS/OSC buffers are freed using screen.allocator consistently without risking cross-allocator heap corruption (#499).Pty.deinit reaps child processes before issuing SIGKILL, eliminating PID-reuse race conditions and avoiding zombie processes (#486)./dev/null without double-closing descriptor 0 (#487).:3) to prevent accidental double-inputs in TUIs (#489).renderContent to render up to full terminal height (h = @min(screen.grid.height, self.sy)) when the status bar is disabled (#495).Term.setAttributes to prevent bare escape resets and color cache desynchronization (#500).| Metric | v0.9.0 | v0.9.1 | v0.10.0 |
|---|---|---|---|
| Total Passing Tests | 959 | 970 | 1,032 |
| New Regression Tests | — | 11 | 62 |
| Open Bugs in Tracker | 0 | 0 | 0 |
| Bugs Resolved in Cycle | 44 (#395–#439) | 1 (#440) | 61 (#441–#501) |
| Build Status | All passing | All passing | Clean under Zig 0.16.0 (Debug, ReleaseSafe, ReleaseFast) |