The legacy VT path emitted a bare 0x08 (plain backspace), and even the
kitty keyboard protocol path ignored it entirely, so terminals apps saw
Ctrl+Backspace as an unmodified backspace: pi/Claude Code deleted a
single letter instead of a word.
- kitty keyboard protocol active + Ctrl -> CSI u `CSI 127;5u` (127 is
the kitty Backspace keysym), so kitty-aware apps (pi) recognise the
exact key combination.
- Legacy VT path + Ctrl -> 0x17 (Ctrl+W); the managed PowerShell prompt
now binds Ctrl+w to BackwardKillWord.
- Alt prefix and plain 0x7f backspace behaviour are unchanged.