-
fix(tui): disable RichLog min_width floor so wrap actually applies (v0.14.2)
released this
2026-05-27 12:25:16 -07:00 | 239 commits to main since this releaseThe four right-column panes (tools/debug/thinking/persona) have all
carriedwrap=Truesince their introduction, but long lines were
still horizontally scrolling instead of wrapping. Root cause: Textual's
RichLog defaultsmin_width=78, and the App's render path takes
max(renderable_width, min_width)after the shrink step. The right
column is 1fr against the left column's 2fr, so at common terminal
widths (≤120 cols) the panes are narrower than 78 cells — the 78-cell
floor was forcing content to render at 78 wide and horizontally scroll
instead of wrapping at the actual pane width.Set
min_width=0on all four right-column RichLog instances so
shrink-to-widget-width can actually shrink.wrap=Truenow takes
effect on long lines as expected.Patch per SemVer discipline: bug fix to a long-standing visible-UX
defect; no public API change, no behavior change for callers, every
existing caller continues to work — the substrate is more correct.Downloads