[Bug]: terminal in non-functional state when going back to threads, message: Expected value greater than or equal [...] at ["cols"] #2270
zayenz(GitHub profile, opens in a new tab) added labelsbug
zayenz(GitHub profile, opens in a new tab) added labelsneeds-triage
juliusmarminge closed this
Sign in to join this conversation.
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.