TUI terminal dimension clamping fixes and workarounds
Cluster 35738 · apps/desktop. Data as of
Nothing open on GitHub. Fix merged in #36096. Check it covers your case.
The short answer
- Known?
- Yes. 5 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #36096. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
unresolved. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These issues and PRs concern a fix that clamps terminal dimensions to handle bogus WSL values, and subsequent problems where that fix broke layout in other terminals like Warp. The work involves refining when and how dimension clamping is applied.
Open issues0
Open PRs0
Fixes on record
-
#36096 Revert "fix(tui): clamp bogus terminal dimensions (WSL 131072x1)" (#35657)
files:
ui-tui/src/__tests__/terminalDimensions.test.ts,ui-tui/src/entry.tsx,ui-tui/src/lib/terminalDimensions.ts
3 PRs closed without merging
From the close comments: done elsewhere 1 · superseded by another PR 1 · other 1
-
#35764 fix(tui): skip clampStdoutDimensions in Warp to prevent layout breakage (#35738) · superseded by another PR →
cd8aa38 -
#35766 fix(tui): gate clampStdoutDimensions behind WSL detection (#35738) · other →
cd8aa38,#35738,#38200 -
#35909 fix(tui): avoid mutating stdout dimensions · done elsewhere →
#35657,#36096,#38200
Closed issues · 1
- Closed#35738fix(tui): clampStdoutDimensions (#35657) breaks TUI layout in Warp terminal
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.40: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Subsystem
- apps/desktop
- Merged PRs
- #36096
- Closed issues
- 1
- Attempts
- 3 PRs closed without merging
- Fix link checked
- 31 May 2026