Codex instant starts sometimes on pasting text
Resolved 💬 5 comments Opened Oct 14, 2025 by sckindvl Closed Nov 15, 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.46.0
Which model were you using?
gpt-5-codex
What platform is your computer?
Microsoft Windows NT 10.0.26100.0 x64
What steps can reproduce the bug?
Copy a text with spaces and breaks and press CTRL+V (Paste). In some not understandable situations its just starting the request
What is the expected behavior?
Just start on explicit press ENTER
What do you see instead?
_No response_
Additional information
_No response_
5 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Codex analysis
--------------------
• Likely Cause
expects.
burst window closes after 120 ms. Windows consoles often deliver the characters—especially the trailing newline—more slowly than that, so the burst finishes before the newline shows up.
matches the behavior you’re seeing: pasting multi-line text sometimes triggers a send even though you didn’t press Enter.
Next Step Ideas
Discussing a fix in #3371
But most terminals support bracketed paste — I’ve checked it in various ways, and it seems the culprit is
requery_default_colors()intui.rs.All observations and measurements are included in the PR above; I’ve described them in detail. I also conducted a more in-depth analysis, though I didn’t include everything in the description.
Closing in favor of #2137