Mention files
Resolved 💬 5 comments Opened Aug 12, 2025 by jacobhallgren Closed Nov 20, 2025
What version of Codex is running?
codex-cli 0.21.0
Which model were you using?
gpt-5
What platform is your computer?
win32
What steps can reproduce the bug?
I don't know if this is as design but in windows @file to mention a file does not work.
5 Comments
@ does not even show for me in windows codex? it works without problems on mac.
Workaround until it is fixed:
you can use
/mentionat the beginning of the commandalso, it works, when my keyboard layout is
en-US. The "@" symbol on my layout ("de-CH") is located at "ALT GR + 2". In the US layout is "SHIFT + 2". Maybe that's something to look into.I think that's the problem: https://github.com/openai/codex/blob/5996ee0e5f75e4f27afd76334db78a33a7fec997/codex-rs/tui/src/bottom_pane/textarea.rs#L219
Using italian keyboard under windows in terminal I can't write €, [, ], @, # as they all need "ATL gr" to be written.
This is a just terminal problem (at least for me). Do you try this in Git Bash by chance?
WinTTY (Git Bash) sends for example Ctrl + Alt + q if I want an @ on a German keyboard.
ConPTY (WSL, PowerShell, Cmd) directly converts into an @ <- the shell does see an "@".
So you can
Still I think this should be supported natively. Claude Code and Gemini run just fine in Git Bash.
I just tested with the newest release of codex and this is not an issue anymore.
Can be closed