Windows App - Double pasting commands in terminal on `Ctrl+Shift+V`
Resolved 💬 7 comments Opened Mar 18, 2026 by dhruv-wappnet Closed Jun 23, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of the Codex App are you using (From “About Codex” dialog)?
26.311.21342
What subscription do you have?
ChatGPT Business
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
Whenever I am pasting anything using Ctrl + Shift + V in the integrated terminal, its pasting the commands twice in same line.
I have enabled WSL inside Powershell terminal in Windows. and default codex runs its sandbox in wsl.
What steps can reproduce the bug?
- Open Codex
- Setup Config in settings :
- Agent Env : WSL
- Integrated Terminal Shell : PWSH
- Go back to the chat window
- Open integrated terminal from the top right
- Copy some command from the chat window and paste using Ctrl+Shift+V.
- You'll see the command has been double pasted.
What is the expected behavior?
The command must be pasted once. Not twice.
Bug :
<img width="1588" height="696" alt="Image" src="https://github.com/user-attachments/assets/d073e706-a184-4506-b187-3cf93a8ded9b" />
Expected :
<img width="1652" height="547" alt="Image" src="https://github.com/user-attachments/assets/10c3d3bd-c8b3-4313-83af-20878f0350a8" />
Additional information
_No response_
7 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
No. The above issue is linked to instant execution as pasting the code. Nothing to do with double pasting.
I can reproduce this as well in the Codex desktop app on Windows.
Additional data point:
Ctrl+Shift+Vonce in the integrated terminal pastes the clipboard contents twiceThis looks like a Windows-app-specific duplicate paste event rather than a generic terminal shortcut misunderstanding.
Temporary workarounds on my side are right-click paste or
Shift+Insert.For Windows:
Because Codex’s React editor is doing something like:
onPasteandonInputnavigator.clipboard.readText()In other words:
_Codex’s React editor can double‑apply paste events even when the browser engine is not at fault._
This is a framework-level duplication, not a browser bug.
For macOS:
This is happening on iOS and on macOS in the Microsoft Edge browser. Tracking there is an existing WebKit bug that fires multiple paste‑related events, causing text to be inserted twice—especially inside <input> fields or React‑based editors. The behavior is confirmed in developer reports and is reproducible across Safari, WKWebView, and Mac Catalyst apps.
I'm having the same issue
This issue continues to persist. Not sure if the Dev team is address this workflow issue. @timon-oai @tibo-openai
I can reproduce the same issue on Windows 11 with the Codex Windows app.
26.601.21317 • Released 2026-6-3