microsoft / microsoft/vscode

Toggle maximized terminal causes codex to render glitches

Open
#325,743 2 comments 1 reaction 1 assignee Claimed by @anthonykim1 View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Type: Bug

1. Open the Terminal panel and click "Maximize Panel"
2. Open codex cli here, type something to make the input box move to bottom
3. Toggle the panel with ctrl+j

You will notice:
1. The terminal shows "width x height" on revealing, meaning it sends some resize event
2. The codex tui renders broken input box

Image

Additional information:
1. If the terminal is not maximized, it will not produce the issue.
2. Simply resizing the terminal does not produce the issue.
3. Reproduced on both the stable VS Code and the insider one.

VS Code version: Code - Insiders 1.129.0-insider (72f41c0fcc3eb4e8d28bbeca7321625b5ac0d302, 2026-07-13T17:06:39Z)
OS version: Darwin arm64 25.5.0
Modes:

System Info

|Item|Value|
|---|---|
|CPUs|Apple M3 (8 x 2400)|
|GPU Status|2d_canvas: enabled
GPU0: VENDOR= 0x106b [Google Inc. (Apple)], DEVICE=0x0000 [ANGLE (Apple, ANGLE Metal Renderer: Apple M3, Version 26.5.2 (Build 25F84))], DRIVER_VENDOR=Apple, DRIVER_VERSION=26.5.2 *ACTIVE*
Machine model name: Mac
Machine model version: 15.3
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: enabled_on
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgpu: enabled
webnn: disabled_off|
|Load (avg)|3, 4, 5|
|Memory (System)|24.00GB (0.39GB free)|
|Process Argv|--crash-reporter-id b75628a9-a481-4a69-a3f2-4d665a9e6200|
|Screen Reader|no|
|VM|0%|
Extensions (6)

Name|Identifier|Author|Version
---|---|---|---
Chinese (Simplified) (简体中文) Language Pack for Visual Studio Code|ms-ceintl.vscode-language-pack-zh-hans|MS-CEINTL|1.129.2026071318
Dev Containers|ms-vscode-remote.remote-containers|ms-vscode-remote|0.465.0
Remote - SSH|ms-vscode-remote.remote-ssh|ms-vscode-remote|0.124.0
Remote - SSH: Editing Configuration Files|ms-vscode-remote.remote-ssh-edit|ms-vscode-remote|0.87.0
Remote Explorer|ms-vscode.remote-explorer|ms-vscode|0.5.0
Remote - Tunnels|ms-vscode.remote-server|ms-vscode|1.5.3

A/B Experiments

```
vsliv368cf:30146710
pythonvspyt551:31249597
nativeloc1:31118317
dwcopilot:31158714
dwoutputs:31242946
copilot_t_ci:31333650
g012b348:31231168
pythonrdcb7:31268811
pythonpcpt1:31399616
6518g693:31302842
6abeh943:31336334
envsactivate1:31349248
editstats-enabled:31346256
cloudbuttont:31366566
3efgi100_wstrepl:31403338
cp_cls_t_966_ss:31526232
4je02754:31481634
8hhj4413:31478653
cp_cls_c_1081:31454833
conptydll_true:31485575
ia-use-proxy-models-svc:31446143
e9c30283:31453065
test_treatment2:31471001
46204921:31447328
idci7584:31454084
e3e4d672:31454087
ei9d7968:31462942
f860i809:31458078
7e884298:31462391
7e187181:31482583
h08i8180_copy:31475366
ddid_t:31478204
hmra_i5g22:31518061
bjc72774_agent_sandbox:31538428
7df3h592:31491241
cp_cls_t_1082:31535311
logging_enabled_new:31490725
jb_cp_cls_t_632:31543129
b1g4i769:31503653
ha629193:31508444
cdk-lw-on:31524445
f9bf7985:31541111
a1ije391_t:31533808
hgf2d445:31510900
41836166:31537719
prpt_ctrl:31513638
jbcp_cls_pctr_t:31531130
cp_intellij_t_nes:31548657
d7b18187:31526828
hide-eh-duplicates:31543293
h561g132:31534507
replace-eh-with-ah:31545853
ihg5j128:31534457
f412h606:31543414
sandbox-ui-on-2:31543161
52258b4d:31547953
fbihi617_lg_t:31548132

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.