Ctr-W on certain strings causes Codex to crash completely
Resolved 💬 3 comments Opened Nov 3, 2025 by mattzh72 Closed Nov 4, 2025
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of Codex is running?
codex-cli 0.46.0
What subscription do you have?
API
Which model were you using?
GPT-5
What platform is your computer?
Darwin 23.6.0 arm64 arm
What issue are you seeing?
Codex crashes completely when attempting to ctrl-W certain strings.
What steps can reproduce the bug?
To repro, paste in encaptureui_jODh9T/Screenshot\ 2025-11-03\ at\ 3.35.26 PM.png and try to delete it via ctrl-W.
<img width="688" height="146" alt="Image" src="https://github.com/user-attachments/assets/fadb31e4-ed0a-4b10-8b52-ba7490c9164c" />
What is the expected behavior?
Codex should error completely, and quit.
Additional information
A similar issue does not happen on other terminal based coding agents, e.g. Claude Code.
3 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
@mattzh72 while we investigate this, FYI,
0.46.0is a month old, so this may be fixed in a newer version https://github.com/openai/codex/releases/tag/rust-v0.46.0Ah just upgraded to the latest version, this seems to be fixed! Thanks @bolinfest :)