Multi line pasting no longer works

Resolved 💬 6 comments Opened Oct 27, 2025 by Iroegbu1 Closed Nov 15, 2025
💡 Likely answer: A maintainer (etraut-openai, contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

0.50

What subscription do you have?

ChatGPT Pro

Which model were you using?

gpt-5-codex-high

What platform is your computer?

MacOS

What issue are you seeing?

Pasting multi-line text no longer works in Codex CLI. The confirmation UI appears, but when you accept the dialog (by clicking "Paste"), nothing gets pasted.

What steps can reproduce the bug?

Uploaded thread

What is the expected behavior?

Multi-line content gets pasted into the line where you type, as it normally worked in previous versions.

Additional information

_No response_

View original on GitHub ↗

6 Comments

etraut-openai contributor · 10 months ago

Thanks for the bug report. You said that it "no longer works". I presume that means it was previously working for you prior to 0.50.0? Do you happen to remember which version you were using when it worked? Was it 0.49.0?

synestiqx · 10 months ago

PR #5683 The paste prompt appears when bracketed paste is not enabled.
What you’re describing behaves erratically because of the terminal color reset I mentioned earlier.
The fix should resolve the issue.

For me, it also sometimes pasted and sent automatically, and other times it didn’t paste at all — it seems to depend on the terminal and environment.

URL - I’ve provided a fairly detailed explanation of the problem here.

kwuite · 10 months ago

Same. Since version 0.47 that got updated today, I can no longer copy and paste via keyboard nor via right mouse click and paste.

Iroegbu1 · 10 months ago
Thanks for the bug report. You said that it "no longer works". I presume that means it was previously working for you prior to 0.50.0? Do you happen to remember which version you were using when it worked? Was it 0.49.0?

Hi, I believe it stopped working from 0.47.

For clarification, pasting shorter text (one line) still works.

steelep · 10 months ago

Its changed to ctrl+shift+v (rather than just ctrl-v) dont ask me why but thats how it is now

kwuite · 10 months ago
Its changed to ctrl+shift+v (rather than just ctrl-v) dont ask me why but thats how it is now

Indeed, I can confirm this is the solution. Would have been great if they had mentioned this in the footer/bottom/legenda in the interface.