You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Hardcoded 120-column max width ignores large terminals #595
I saw that #596 was closed after the feedback that a 1024-column cap was too permissive and that the related unit test still needed updating. I’ll submit a focused replacement PR that raises the cap to 200 columns, which covers the reported 190-column case while preserving a bounded layout, keeps the existing 40-column minimum, and updates the regression coverage.
If you would prefer 160 columns or a preference-backed value, please let me know before review. I’ll keep the implementation limited to the terminal-width behavior described here.
The focused change raises the bounded terminal content width from 120 to 200 columns, keeps the existing 40-column minimum, reuses the shared constant in the responsive hook, and updates the regression coverage.
Validation completed:
pnpm exec ava source/hooks/useTerminalWidth.spec.tsx - 10 tests passed
Activity
RealBhupesh commentedon Aug 3, 2026
Hi @will-lamerton, I’d like to pick this issue up.
I saw that #596 was closed after the feedback that a 1024-column cap was too permissive and that the related unit test still needed updating. I’ll submit a focused replacement PR that raises the cap to 200 columns, which covers the reported 190-column case while preserving a bounded layout, keeps the existing 40-column minimum, and updates the regression coverage.
If you would prefer 160 columns or a preference-backed value, please let me know before review. I’ll keep the implementation limited to the terminal-width behavior described here.
RealBhupesh commentedon Aug 3, 2026
Implemented in PR #742.
The focused change raises the bounded terminal content width from 120 to 200 columns, keeps the existing 40-column minimum, reuses the shared constant in the responsive hook, and updates the regression coverage.
Validation completed:
pnpm exec ava source/hooks/useTerminalWidth.spec.tsx- 10 tests passedpnpm exec biome check source/constants.ts source/hooks/useTerminalWidth.tsx source/hooks/useTerminalWidth.spec.tsxpnpm run test:typesThe PR is ready for review.