fix(terminal): bound shell history replay - #331
Conversation
Ark0N
commented
Aug 21, 2026
Thanks a lot for this one! Went through it in detail and the split is exactly right: shell selection starts from the bounded 1 MiB tail, full history stays behind the explicit button, and TUI sessions keep their one canonical full replay per page. The tmux version gating is a subtle problem handled well (global default set in the same command queue right before Verified locally on top of master together with #327: full test gate green (5510 tests), typecheck/lint/format/frontend-syntax/public-assets, production build. The Merging, this ships in 1.20.1. |
Summary
Measurements
capture-pane: about 0.03s at 10k lines, 0.15-0.18s at 50k, and 0.31-0.36s at 100k[TERMINAL-PERF]andServer-Timingnow expose the same stages on real installations. The xterm metric ends at parser completion; it is not a direct GPU/compositor measurement.Validation
tsc --noEmit