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
[Bug]: terminal in non-functional state when going back to threads, message: Expected value greater than or equal [...] at ["cols"] #2270
I have a related issue on 0.21, in short the termal does not work if I open it on a large monitor
[Terminal] Wide terminal pane fails to open when calculated cols exceed schema cap
T3 Code terminal fails to open in a wide window because the frontend sends cols: 499, while the terminal RPC schema rejects values greater than 400.
Error:
[terminal] Expected a value less than or equal to 400, got 499
at ["cols"]
Expected:
The terminal should open normally in wide windows, either by supporting the
calculated width or clamping dimensions before calling terminal.open/resize.
Actual:
The terminal displays a validation error and does not start.
Affected code:
packages/contracts/src/terminal.ts: TerminalColsSchema caps cols at 400
apps/web/src/components/ThreadTerminalDrawer.tsx: TerminalViewport sends xterm cols directly after fitAddon.fit()
Workaround:
Narrow the T3 Code window/pane or zoom in until the terminal calculates <= 400 cols.
Terminal dimension schemas now accept ultrawide values up to 1000 columns and include coverage for 423-column terminals, fixing the old 400-column failure.
This was closed as part of a large repo-wide maintenance sweep. If you think it's still relevant, please reopen.
Activity
paulbrav commentedon Apr 25, 2026
I have a related issue on 0.21, in short the termal does not work if I open it on a large monitor
[Terminal] Wide terminal pane fails to open when calculated cols exceed schema cap
T3 Code terminal fails to open in a wide window because the frontend sends
cols: 499, while the terminal RPC schema rejects values greater than 400.Error:
[terminal] Expected a value less than or equal to 400, got 499
at ["cols"]
Expected:
The terminal should open normally in wide windows, either by supporting the
calculated width or clamping dimensions before calling terminal.open/resize.
Actual:
The terminal displays a validation error and does not start.
Affected code:
Workaround:
Narrow the T3 Code window/pane or zoom in until the terminal calculates <= 400 cols.
juliusmarminge commentedon Jun 20, 2026
Terminal dimension schemas now accept ultrawide values up to 1000 columns and include coverage for 423-column terminals, fixing the old 400-column failure.
This was closed as part of a large repo-wide maintenance sweep. If you think it's still relevant, please reopen.