Skip to content

Cannot input or paste @ sign in Codex CLI terminal on Windows #4253

Closed

Description

@duskosusa

What version of Codex is running?

0.41.0

Which model were you using?

gpt-5-codex

What platform is your computer?

Microsoft Windows NT 10.0.26100.0 x64

What steps can reproduce the bug?

When using Codex CLI, I cannot enter the @ character in the terminal.

If I try to type @ (e.g., for referencing files with @), nothing happens.

If I paste text containing @ (e.g., an email address like [email protected]), the @ sign is removed and only testexample.com appears.

This makes it impossible to reference files with @ or use commands/strings that contain it.

Steps to reproduce:

Open Codex CLI.

Try to type @ directly into the terminal.

Or paste an email address (e.g., [email protected]).

What is the expected behavior?

@ should appear as typed or pasted.

What do you see instead?

@ is ignored/stripped out completely.

Additional information

No response

Activity

  1. added
    bug
    on Sep 25, 2025
  2. cpjet64 commented on Sep 25, 2025

    @cpjet64
    Contributor

    I can’t reproduce this on any of my three Windows 11 machines or my Windows 10 dev box.

    A few things to try:

    • Accessibility keyboard test: Open the on-screen accessibility keyboard and try typing @.

    • Fresh reinstall of Codex (in this exact order):

      1. npm uninstall -g @openai/codex – uninstall Codex
      2. npm cache clean --force – clear the npm cache
      3. Check that Codex is fully removed:
        • CMD: which codex
        • PowerShell: Get-Command codex
      4. npm install -g @openai/codex – reinstall Codex
      5. codex --version – confirm reinstall
    • System checks:

      • Disconnect/reconnect the keyboard.
      • Restart the machine.
      • Make sure Windows updates and drivers are current.
    • OS integrity checks (from an elevated CMD or PowerShell):

      • sfc /scannow
      • DISM /Online /Cleanup-Image /RestoreHealth
  3. added
    windows-os
    on Sep 26, 2025
  4. huseyingulgen commented on Sep 26, 2025

    @huseyingulgen

    Yes, it's the same for me. It makes using Codex CLI pointless. It is problem with languages. I can not create @ If my keyboard is Turkish. If I switch to english, I can do it but paste is never work.

  5. duskosusa commented on Sep 26, 2025

    @duskosusa
    Author

    @cpjet64

    I went through everything you listed, uninstall/reinstall, cache clear, OS integrity checks, and even tested with the Accessibility Keyboard. The issue is still exactly the same.

    my setup:

    Windows 11
    Physical keyboard: German (QWERTZ)
    Input layout: English (United States) (shows “English (United States) – German” in the Windows language bar)
    Regional format: English (Germany)

  6. cpjet64 commented on Sep 26, 2025

    @cpjet64
    Contributor

    @duskosusa add to the additional info your system localization settings. This is one of those weird QWERTY/QWERTZ bugs 😮‍💨 ... For now your best bet is to probably change system regional language settings to US English.

  7. epoyraz commented on Nov 2, 2025

    @epoyraz

    duplicate: #2215

  8. epoyraz commented on Nov 20, 2025

    @epoyraz

    Now this works for me. Can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions