62 commits since v0.8.1. 927 tests passing.
v0.8.2 is a major stability and reliability release addressing 46 items filed during the deep code audit (#349–#394) and closing out all open actionable bug tracker entries. Key highlights include critical crash and memory safety fixes, elimination of several major memory leaks, accurate DECSTBM scroll region emulation across lines and auto-wraps, standard vi copy-mode defaults with immediate search bar feedback, and seamless keystroke forwarding.
Server.isPaneValid now validates candidate pane pointers against live sessions and window trees before dereferencing, preventing crashes on stale batch I/O events following session destruction.Layout.removePane strictly detaches layout nodes without destroying pane memory, ensuring Server.destroyPane remains the single authoritative pane lifecycle owner.merged_screen slot during resize failure paths to prevent double-free or dangling pointer access.EAGAIN/EWOULDBLOCK on client sockets gracefully instead of treating them as client disconnects.connect() before unlinking stale sockets, and directory listener permissions are enforced to 0700.Grid.copyVisibleFrom for in-place grid copying during clock mode, eliminating the multi-megabyte/second memory growth from continuous grid and scrollback cloning.name_buf window title management in auto-rename and eliminated write-only accumulators.MAX_PASTE_SIZE and exact buffer allocations for OSC52 payloads and load-buffer commands.\n), auto-margin wrapping, and index (ESC D) scrolling through advanceLine() so full-screen TUIs (vim, htop, less) with fixed margins do not corrupt header lines or history.CAN (0x18) and SUB (0x1A).history_limit.bind-key -n) to the input dispatcher without requiring prefix key interception.mode-keys default to "vi", allowing standard vi motion keys (h/j/k/l, v, y, w/b, 0/$, g/G) out of the box. Unified / and ? search activation across keymaps with immediate status bar repainting.ESC keys are flushed promptly as Escape instead of lingering into Alt+key.CR (\r) and Ctrl-J as LF (\n).| Metric | v0.8.1 | v0.8.2 |
|---|---|---|
| Total Passing Tests | 870 | 927 |
| New Regression Tests | — | 57 |
| Build Status | Debug & ReleaseSafe | Debug, ReleaseSafe & ReleaseFast passing |