Repository navigation
Description
What version of Codex CLI is running?
codex-cli 0.157.1
The issue started immediately after updating from 0.156.1 to 0.157.1 using the Windows installer:
powershell -ExecutionPolicy Bypass -c '$env:CODEX_NON_INTERACTIVE=1; irm https://chatgpt.com/codex/install.ps1 | iex'Platform
Windows x64.
What issue are you seeing?
While using the Codex TUI, large amounts of raw terminal/control-sequence-looking text are suddenly inserted into the composer by themselves. Once it starts, the input rapidly fills with sequences and is effectively unusable.
This is not intentional keyboard input and can happen randomly during normal use.
A screenshot showed the composer filled with repeated encoded-looking fragments/control sequences.
Regression
This appears to be a regression in 0.157.1.
I installed 0.156.1 again and explicitly launched that version. The problem stopped occurring after the downgrade.
Reproduction
- On Windows x64, update Codex CLI from
0.156.1to0.157.1. - Start Codex normally.
- Use the TUI for a while.
- Raw terminal/control sequences may suddenly begin being inserted into the prompt continuously.
- Downgrade to
0.156.1. - The issue no longer occurs.
Expected behavior
Terminal keyboard/control sequences should be interpreted by the TUI and should never appear as literal/random text in the composer.
Additional information
There are two Codex installations on the machine:
- Standalone installer:
C:\Users\<user>\AppData\Local\Programs\OpenAI\Codex\bin\codex.exe - npm installation:
C:\Users\<user>\AppData\Roaming\npm\codex.cmd
The standalone installer was the 0.157.1 binary exhibiting the issue. The npm-installed 0.156.1 binary works normally.
Possibly related to #48680, but in this case the sequences appear randomly/continuously rather than only from a known custom Shift+Enter mapping.
Activity
github-actions commentedon Sep 27, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
bc-openai commentedon Oct 2, 2026
Thanks for the report! This should be fixed in 0.159.0.