Configure your terminal for Claude Code changedterminal-config
Nearest release: v2.1.238, published 6 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+7added
Lines−0removed
From line
8
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits25to this page, all time
## Fix Backspace deleting a whole word on Windows
The whole hunk
from line 8, old and new numbered
/
from line 8
88* [Option-key shortcuts do nothing on macOS](#enable-option-key-shortcuts-on-macos)
99* [No sound or alert when Claude finishes](#get-a-terminal-bell-or-notification)
1010* [You run Claude Code inside tmux](#configure-tmux)
11* [Backspace deletes a whole word on Windows](#fix-backspace-deleting-a-whole-word-on-windows)
1112* [Display flickers or scrollback jumps](#switch-to-fullscreen-rendering)
1213* [You want Vim keys in the prompt](#edit-prompts-with-vim-keybindings)
1314
from line 115
114115```
115116
116117The `allow-passthrough` line lets notifications and progress updates reach the outer terminal instead of being swallowed by tmux. The `extended-keys` lines let tmux distinguish Shift+Enter from plain Enter so the newline shortcut works.
118
119## Fix Backspace deleting a whole word on Windows
120
121On Windows, Claude Code reads a Backspace that arrives as `^H` as Ctrl+Backspace, which [deletes the previous word](/docs/en/interactive-mode#text-editing), except when `TERM_PROGRAM` is `mintty` or `TERM` is `cygwin`. On macOS and Linux, Claude Code reads it as plain Backspace.
122
123If each press of Backspace deletes a whole word, your terminal sends `^H` for plain Backspace. Set [`CLAUDE_CODE_BS_AS_CTRL_BACKSPACE=0`](/docs/en/env-vars). Backspace and Ctrl+H then erase one character each. If Ctrl+Backspace erases only one character on macOS or Linux because your terminal sends `^H` for it, set the variable to `1` instead.
117124
118125## Match the color theme
119126
No line in this hunk matches that.