# NousResearch/hermes-agent · TUI terminal dimension clamping fixes and workarounds

## Open now

- 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.

## TL;DR

- 5 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 3 PR(s) closed without merging.
- A fix was merged to main in PR #36096. Verify it addresses your case.
- **Recommended:** read PR #36096 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.40`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Closed / duplicate issues

- #35738: fix(tui): clampStdoutDimensions (#35657) breaks TUI layout in Warp terminal

## Prior & competing PRs

- **#35764: fix(tui): skip clampStdoutDimensions in Warp to prevent layout breakage (#35738)**. closed without merge · fix tier `suggested`
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `cd8aa389c9c2b56452bf4fb826c03a4f99a3625e`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#35766: fix(tui): gate clampStdoutDimensions behind WSL detection (#35738)**. closed without merge · fix tier `suggested`
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `cd8aa389c9c2b56452bf4fb826c03a4f99a3625e`, `#35738`, `#38200`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#36096: Revert "fix(tui): clamp bogus terminal dimensions (WSL 131072x1)" (#35657)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `ui-tui/src/__tests__/terminalDimensions.test.ts`, `ui-tui/src/entry.tsx`, `ui-tui/src/lib/terminalDimensions.ts`
- **#35909: fix(tui): avoid mutating stdout dimensions**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#35657`, `#36096`, `#38200`

## Fix status

- Merged to main in PR #36096 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-05-31`.
- Subsystem: `apps/desktop`
