WebStorm built-in terminal: Codex CLI v0.74.0-0.75.0 starts printing random [M... characters (looks like raw mouse-tracking escape sequences)
What version of Codex is running?
codex-cli 0.75.0
What subscription do you have?
PLUS
Which model were you using?
_No response_
What platform is your computer?
Microsoft Windows NT 10.0.22631.0 x64
What issue are you seeing?
After updating to OpenAI Codex CLI v0.75.0, the WebStorm integrated terminal starts spamming the console with strange characters like:
[M#o[M#o[M#w0[M#o0...
It looks like raw xterm/ANSI escape sequences, likely related to mouse reporting (ESC [ M ...), being printed into the terminal instead of being handled properly.
What steps can reproduce the bug?
Open WebStorm → Terminal (the built-in terminal).
Run Codex CLI:
codex
Observe that the terminal begins printing [M... characters.
(Suspected trigger) It may happen or intensify when moving the mouse over the terminal or when the terminal gains focus.
What is the expected behavior?
_No response_
Additional information
<img width="1795" height="240" alt="Image" src="https://github.com/user-attachments/assets/28062b19-f7c0-40ba-a88c-69a17cdd6604" />
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗