CodexCLI crashes after inserting symbols other than the English keyboard layout
Resolved 💬 4 comments Opened Jul 14, 2025 by otrub Closed Jul 14, 2025
💡 Likely answer: A maintainer (bolinfest, collaborator)
responded on this thread — see the highlighted reply below.
What version of Codex is running?
codex-cli 0.2.0
Which model were you using?
o3-2025-04-16
What platform is your computer?
Linux host, docker image ruby:3.3.1 with node 22.12.0
What steps can reproduce the bug?
OLD_CLIP=$(xclip -selection clipboard -o 2>/dev/null || true)
xclip -selection clipboard -i < "${TMP_TXT}.txt"
[[ -x $(command -v xdotool) ]] && xdotool key --clearmodifiers ctrl+v
sleep 0.1
[[ -n $OLD_CLIP ]] && printf '%s' "$OLD_CLIP" | xclip -selection clipboard -i
What is the expected behavior?
Pastes the text as it does in previous versions.
What do you see instead?
CodexCLI crashes.
Additional information
Previously, there were no problems with the inserting text programmatically. Issue has come after either from 0.5 or 0.6 release version. It's not clear for me why --version returns 0.2
So many issues with this interface. It ruins my workflow from every new version of CodexCLI.
4 Comments
It seems to have become clear that CodexCLI crashes when entering characters other than the English keyboard layout.
Once I figured this out, it became clear that I could no longer use this tool for my work. Very sad.
reverted to version 0.5.0.
For node (but not brew), 0.6.0 was actually 0.2.0. Now fixed in npm 0.7.0: https://github.com/openai/codex/releases/tag/rust-v0.7.0