Backspace/Ctrl+Backspace keys reversed in CLI on Windows PowerShell
Resolved 💬 3 comments Opened Apr 22, 2026 by russellcaughey Closed May 28, 2026
On Windows 11 PowerShell, Claude Code CLI has reversed backspace behavior:
- Pressing Backspace deletes an entire word (should delete one character)
- Pressing Ctrl+Backspace deletes one character (should delete a word)
This is the opposite of standard terminal behavior and PSReadLine's correct keybindings.
Environment:
- Platform: Windows 11 Pro
- Shell: PowerShell
- PSReadLine keybindings: Correct (verified with Get-PSReadLineKeyHandler)
- Backspace is mapped to BackwardDeleteChar ✓
- Ctrl+Backspace is mapped to BackwardKillWord ✓
Issue appears to be in Claude Code CLI's input handler on Windows, not the shell configuration.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗