Pasted newline auto-submits
Resolved 💬 5 comments Opened Aug 8, 2025 by zemaj Closed Nov 21, 2025
What version of Codex is running?
codex-cli 0.19.0
Which model were you using?
gpt-5
What platform is your computer?
Darwin 24.5.0 arm64 arm
What steps can reproduce the bug?
- Open codex CLI
- Paste multi-line text that contains a new line part way through it.
- First newline submits immediately and only the part before the newline is sent to codex. The rest only appears once codex stops running (and is not submitted)
What is the expected behavior?
Pasting newlines should be the same as pressing Shift+Enter - new line in the input.
What do you see instead?
Incomplete automatic submission
Additional information
This breaks all kinds of workflows including using TTS tools like Flow if they insert a new line in the text while you're talking.
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗