WebStorm built-in terminal: Codex CLI v0.74.0-0.75.0 starts printing random [M... characters (looks like raw mouse-tracking escape sequences)

Resolved 💬 4 comments Opened Dec 19, 2025 by ProydakD Closed Dec 21, 2025
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

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" />

View original on GitHub ↗

4 Comments

github-actions[bot] contributor · 8 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #8306

Powered by Codex Action

ProydakD · 8 months ago

this is a different issue and is not related to copy and paste. The specified characters in the console are printed by themselves. Constantly

ProydakD · 8 months ago

Clarification: this happens when tui2 is enabled.

[features]
tui2=true
etraut-openai contributor · 8 months ago

Please do not use tui2. It is still very much an experimental work in progress and has many known issues.