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
CLIIssues related to the Codex CLITUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displaybugSomething isn't workingwindows-osIssues related to Codex on Windows systems
What terminal emulator and version are you using (if applicable)?
Windows Terminal
Codex doctor report
What issue are you seeing?
When I move my mouse or click inside the terminal window while Codex CLI is active, the tool inadvertently inputs terminal mouse reporting escape sequences into the prompt.
Examples of the garbage text include: [M#\6[M#\6[M#\5[M#\3[M#\2[M#\2[M#\3... and long strings of similar characters. It seems Codex CLI is not filtering out X10 mouse reporting sequences (ESC[M...), treating mouse movements as keyboard input. The AI then tries to interpret these sequences as user prompts, causing unexpected behavior.
What steps can reproduce the bug?
Open Codex CLI in the terminal (e.g., [Windows Terminal]).
Move the mouse cursor continuously over the terminal window.
Observe the garbage characters being automatically injected into the text prompt.
OpenAI team hello??? This literally makes the CLI unusable on windows.
You're a MULTI-BILLION-DOLLAR company shipping a very popular developer tool, and somehow windows testing still seems to be an afterthought... IF IT'S EVEN BEING CONSIDERED AT ALL. How does an issue this severe make it through testing, stay broken for almost a week, and still not get treated as a top priority????
CLIIssues related to the Codex CLITUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displaybugSomething isn't workingwindows-osIssues related to Codex on Windows systems
Activity
github-actions commentedon Sep 29, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
InnovationReadyTupperware commentedon Sep 29, 2026
OpenAI team hello??? This literally makes the CLI unusable on windows.
You're a MULTI-BILLION-DOLLAR company shipping a very popular developer tool, and somehow windows testing still seems to be an afterthought... IF IT'S EVEN BEING CONSIDERED AT ALL. How does an issue this severe make it through testing, stay broken for almost a week, and still not get treated as a top priority????
bc-openai commentedon Oct 2, 2026
Thanks for the report! This should be fixed in 0.159.0. We hear you on Windows falling behind a bit and we will try to do better here.