Ctrl+Backspace and Ctrl+Delete do not delete words in Codex CLI prompt editor
What version of Codex CLI is running?
codex-cli 0.128.0
What subscription do you have?
ChatGPT Pro
Which model were you using?
gpt-5.5
What platform is your computer?
Microsoft Windows NT 10.0.26100.0 x64
What terminal emulator and version are you using (if applicable)?
Windows Terminal with PowerShell
What issue are you seeing?
Ctrl+Backspace and Ctrl+Delete do not appear to work in the Codex CLI interactive prompt editor.
I often use Ctrl+Backspace and Ctrl+Delete to delete whole words while editing text. In Codex CLI, these keybindings do not delete the previous or next word, which makes editing longer prompts more cumbersome. I have to press Backspace repeatedly to delete a word.
What steps can reproduce the bug?
- Open Codex CLI in an interactive terminal session on Windows.
- Type a prompt with multiple words, for example: please explain this long prompt.
- Move the cursor within the prompt or leave it at the end.
- Press Ctrl+Backspace.
- Press Ctrl+Delete.
Observed result: the prompt editor does not delete whole words with these keybindings.
What is the expected behavior?
Ctrl+Backspace should delete the word before the cursor.
Ctrl+Delete should delete the word after the cursor.
This would match common text editing behavior in Windows terminals, editors, and many CLI prompt experiences.
Additional information
This is a prompt editing ergonomics issue rather than a model/runtime issue. It affects interactive prompt composition in Codex CLI.
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗