szn

szn v0.2.0

44 commits since v0.1.0.


Headline: Text Reflow

szn now rewraps text when a pane is resized, preserving word/line integrity and scrollback history. Includes:

See docs/text_reflow.md for the full design.


New Features


Bug Fixes

# Description Severity
#178 destroyPane now removes pty fd from event loop Medium
#179 Recursive resizeNode/countLeavesNode converted to iterative (prevent stack overflow) Medium
#180 handleMouseFocus @intCast panic on usize→u32 Medium
#181 Dangling title_ctx pointer in Session.newWindow causing SIGSEGV Critical
#182 Sixel parser now transitions to discard state when 16 MiB cap exceeded (DoS fix) High
#183 Escape key now cancels choose/buffer mode via double-ESC Medium
#184 PTY data read before fd removal on HUP, preventing data loss Medium
#185 Long window names truncated in status bar to prevent line wrap Low
— Status bar now fills full terminal width (was 1 char short) Low
— parseCsi bounds check prevents OOB slice panic on malformed CSI Medium
— Last-pane resource leak (PTY fd + child process) on destroyPane Medium
— next_win_id stack-junk in Session.init causing flaky tests Low
— Mouse SGR leak in clock mode Low

Docs & Organization