Skip to content

Codex desktop terminal keyboard paste inserts text twice on Windows #21638

@NYuget19

Description

@NYuget19

What version of the Codex App are you using (From “About Codex” dialog)?

Latest version available as of May 8, 2026

What subscription do you have?

plus

What platform is your computer?

windows

What issue are you seeing?

In the Codex desktop app embedded terminal, keyboard-based paste inserts the clipboard contents twice.

Right-click paste works correctly. The issue only happens in the embedded terminal, not in the Codex chat input and not in external terminals.

Steps to reproduce

  1. Open the Codex desktop app on Windows.
  2. Focus the embedded terminal.
  3. Copy any short text, for example: test
  4. Paste it into the embedded terminal using Ctrl+V.
  5. The text is inserted twice.
  6. Repeat with Ctrl+Shift+V.
  7. The text is inserted twice.
  8. Repeat with Shift+Insert.
  9. The text is inserted twice.
  10. Paste using right-click.
  11. Right-click paste inserts the text only once.
  12. Paste into the Codex chat input.
  13. Paste works normally there.
  14. Paste into an external terminal.
  15. Paste works normally there.

Expected behavior

Keyboard paste should insert the clipboard contents once.

Actual behavior

Keyboard paste inserts the clipboard contents twice.

Additional information

  • External terminals work normally.
  • Codex chat input works normally.
  • Only the Codex embedded terminal has the issue.
  • Right-click paste works normally.
  • Ctrl+V, Ctrl+Shift+V, and Shift+Insert all paste twice.
  • Rebooting and reinstalling Codex did not fix the issue.
  • This does not appear to be a PowerShell, PSReadLine, IME, or clipboard content issue.

What steps can reproduce the bug?

  1. Open the Codex desktop app on Windows.
  2. Focus the embedded terminal.
  3. Copy a short text string, for example: test
  4. Paste it into the embedded terminal using Ctrl+V.
  5. Observe that the text is inserted twice.
  6. Repeat the same test using Ctrl+Shift+V.
  7. Observe that the text is inserted twice again.
  8. Repeat the same test using Shift+Insert.
  9. Observe that the text is inserted twice again.
  10. Paste the same text using right-click paste.
  11. Observe that right-click paste inserts the text only once.
  12. Paste the same text into the Codex chat input or an external terminal.
  13. Observe that paste works normally outside the Codex embedded terminal.

What is the expected behavior?

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appbugSomething isn't workingwindows-osIssues related to Codex on Windows systems

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions