Repository navigation
[CTX-0266] fix(term-state): reflow rewraps line tails on narrow - #441
Conversation
…aps on widen (#wip)
|
Windows CI failure triaged by core-fix-0266: REAL reflow regression in test expectations, not a platform flake (reproduced deterministically on Linux: 28 vs 25). Root cause: the test feeds Fix (commit ff4bd71, test-only): split the resize assertion in Verification: target suite 9/9 x5 iterations + --test-threads=1, bitty-term-state all green, bitty-ui search green, full bitty-runtime suite green, fmt clean, clippy -D warnings clean. No product-code changes. |
Priority: P1 | Area: render | Labels: fix,area:render,P1 | Milestone: v0.1.0 | RFC: OQ-007 | Task: CTX-0266
Closes #440
Root cause: Grid and Scrollback resize truncated/padded only; no rewrapping.
Reflow semantics: primary unwraps via soft-wrap flags and rewraps width-aware (wide atomic, combining safe); overflow to scrollback capped, underflow pads grid; fresh monotonic scrollback ids; cursor follows logical offset; alt truncates (documented xterm).
Tests: reflow_rewrap_repro 4/4, resize_scrollback 8/8, term-state/rich/runtime/ui libs green, clippy/fmt clean, windows-gnu check ok. Workspace lib green except bitty-compat-lab umbrella baselines pinned v3 (v4 regen cross-repo follow-up). Live verification OWED (headless only). Recording captures: recording/ctx-0266/ uncommitted.
STOP at in_review: requesting independent review; not merging.