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
Codex v0.131.0 terminal corruption after codex_apps MCP startup on Windows #23512
CLIIssues related to the Codex CLITUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displaybugSomething isn't workingmcpIssues related to the use of model context protocol (MCP) serverswindows-osIssues related to Codex on Windows systems
Would you do me a favor: can you run codex on a directory that isn't a git repository, like C:\Users\Pedro in your case and see if the issue still happens?
Thanks for the outside-Git screenshot. That narrows the shape of this: on the affected machine the raw-control-byte rendering issue does not manifest outside a Git repo, so we are treating repo-conditioned startup work as a trigger rather than claiming Git status rendering itself is the proven root cause.
I opened draft PR #23723 to harden Windows TUI output when stdout VT processing cannot be trusted and to expose Windows stdout VT visibility in codex doctor.
If you are willing, a fresh codex doctor --json captured from a broken in-repo run on the affected machine would still help us compare the terminal details. Once a release contains the hardening change, we will ask you to retry that version as well.
CLIIssues related to the Codex CLITUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displaybugSomething isn't workingmcpIssues related to the use of model context protocol (MCP) serverswindows-osIssues related to Codex on Windows systems
Activity
github-actions commentedon May 19, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
fcoury-oai commentedon May 20, 2026
Would you do me a favor: can you run codex on a directory that isn't a git repository, like C:\Users\Pedro in your case and see if the issue still happens?
Pedro-Fernandes commentedon May 20, 2026
sure! here is the output:
PS: It is still present in v0.132.0
fcoury-oai commentedon May 20, 2026
Thanks for the outside-Git screenshot. That narrows the shape of this: on the affected machine the raw-control-byte rendering issue does not manifest outside a Git repo, so we are treating repo-conditioned startup work as a trigger rather than claiming Git status rendering itself is the proven root cause.
I opened draft PR #23723 to harden Windows TUI output when stdout VT processing cannot be trusted and to expose Windows stdout VT visibility in
codex doctor.If you are willing, a fresh
codex doctor --jsoncaptured from a broken in-repo run on the affected machine would still help us compare the terminal details. Once a release contains the hardening change, we will ask you to retry that version as well.Pedro-Fernandes commentedon May 20, 2026
Sure! Here is the output:
fix(tui): restore Windows VT before TUI renders (#24082)
SG5 commentedon May 25, 2026
+1, just upgraded to v0.133.0 and have the same issue. v0.130.0 was fine and didn't have UI issues
fcoury-oai commentedon May 25, 2026
Upgrade your git version and this should be fixed. Otherwise you can wait for the next release.
fix(tui): restore Windows VT before TUI renders (openai#24082)