Ctr-W on certain strings causes Codex to crash completely
Resolved 💬 3 comments Opened Nov 3, 2025 by mattzh72 Closed Nov 4, 2025
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.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗