codex - 💡(How to fix) Fix Windows desktop terminal pastes clipboard contents twice with Ctrl+Shift+V and Shift+Insert [2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#17140Fetched 2026-04-09 08:01:56
View on GitHub
Comments
2
Participants
2
Timeline
7
Reactions
0
Timeline (top)
labeled ×4commented ×2closed ×1

Fix Action

Fix / Workaround

Additional information

RAW_BUFFERClick to expand / collapse

Version

Codex desktop for Windows OpenAI.Codex_26.325.3894.0_x64__2p2nqsd0c76g0

Platform

Windows

What steps can reproduce the bug?

  1. Open the Codex desktop app.
  2. Open the integrated terminal.
  3. Copy a short piece of text, for example hello.
  4. In the Codex terminal, press Ctrl+Shift+V.

Expected

Paste once.

Actual

The text is pasted twice.

Additional reproduction note

Shift+Insert shows the same behavior. Switching the integrated shell from Command Prompt to PowerShell did not fix it.

Additional information

extent analysis

TL;DR

The issue can be worked around by using the right-click paste or Edit > Paste method instead of keyboard shortcuts.

Guidance

  • Investigate if there are any hidden keybindings or overrides in the Codex desktop app that might be causing the double paste issue.
  • Try using the mouse to paste (right-click > Paste) to see if the issue persists, as this might help isolate the problem to keyboard handling.
  • Check the Codex settings for any options related to keyboard shortcuts or paste behavior that could be contributing to the issue.
  • Review the related issues (https://github.com/openai/codex/issues/2597, https://github.com/openai/codex/issues/3397) for potential insights or fixes.

Notes

The issue seems specific to the Codex desktop terminal and keyboard shortcuts, so exploring alternative paste methods or adjusting settings might provide a temporary workaround.

Recommendation

Apply workaround: Using the right-click paste or Edit > Paste method can help avoid the double paste issue until a more permanent fix is found.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING