Difficult time with Copy and Paste within Codex via CLI
Open 💬 8 comments Opened Nov 13, 2025 by cadleta
💡 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.57.0
What subscription do you have?
Plus
Which model were you using?
gpt-5-codex-medium
What platform is your computer?
Windows
What issue are you seeing?
Difficult time copying and pasting, submits prompt early and doesn't provide pasted content.
What steps can reproduce the bug?
Uploaded thread: 019a7e1d-5c98-7522-a55b-3c6697326a86
What is the expected behavior?
_No response_
Additional information
_No response_
8 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Thanks for the bug report.
Could you provide a more detailed set of repro steps? Also, what keyboard layout are you using? We have had other reports of issues with certain non-English keyboard layouts.
If one of the above issues "potential duplicates" already capture the problem you're experiencing, please upvote that issue and close this one. It will help us prioritize.
I consistently have issues with multiline pastes in Windows 11 terminal. Single line working fine. WSL working fine too. Seems have to do with difference of windows/linux line ending (CR/LF). But is a theory on my side. Standard English keyboard btw.
If I paste multiline content, and later press space the pasted text appears. Is a workaround for the bug.
@waldoalvarez00 I just tested for v0.76.0. The issue seems gone. Can you test again?
@etraut-openai I still facing this issue. I'm using Windows Terminal. I hit right click using my mouse to paste. The issue still there.
@etraut-openai If I paste large amount of "text/html" data in the terminal. The Codex CLI will get hang for a while. more than 10 seconds. It just looks like get hang. But no, it's just slow to response.
<img width="486" height="150" alt="Image" src="https://github.com/user-attachments/assets/1c4e6c28-3921-40f2-8633-e1f6bdbbc617" />
If I paste the following "Chinese" text, it will break down a lot of steps in the queue. I think that's a bug.
<img width="1536" height="655" alt="Image" src="https://github.com/user-attachments/assets/2c9ef0a7-62a7-4042-85de-6a90aecd6986" />
@cadleta @doggy8088 I suspect this may have been fixed with the merge of https://github.com/openai/codex/pull/9348. This fix was included with v0.100.0.
Can you please check if you can still replicate the issue on the latest Codex version (v0.104.0 as of the writing of this)?