Option+Backspace / Cmd+Left / Cmd+Right broken in chat input, but only in Warp (works in Ghostty, same version) - regressed with 2.1.197 auto-update
Preflight Checklist
- [x] I have searched existing issues - related to #58048 but distinct (isolated to one terminal, clean version bisect)
- [x] This is a single bug report
- [x] I am using the latest version of Claude Code (2.1.197)
What's Wrong?
Inside the Claude Code chat input, these line/word-navigation shortcuts stopped working:
- Option+Backspace (delete word backward)
- Cmd+Left (jump to start of line)
- Cmd+Right (jump to end of line)
They worked yesterday (on 2.1.196) and stopped this morning, exactly when Claude Code auto-updated to 2.1.197 (confirmed via ~/.claude/.last-update-result.json: version_from: 2.1.196, version_to: 2.1.197, timestamp: 2026-07-01T01:31:05Z).
Terminal-specific: broken in Warp (v0.2026.06.24.09.19.03), but works perfectly in Ghostty with the exact same Claude Code 2.1.197 binary on the same machine. Confirmed the keys work fine at a plain Warp shell prompt outside Claude Code, so Warp is sending correct escape sequences - Claude Code's input parser is the one failing to handle them, specifically for whatever protocol/encoding Warp uses that differs from Ghostty's.
Related to #58048 (Cmd+* swallowed since v2.1.136, closed not-planned) but distinct: that report said it broke in both Terminal.app and Warp; this reproduces in Warp only, with a clean 2.1.196-to-2.1.197 bisect via the auto-updater's own logs.
What Should Happen?
Option+Backspace and Cmd+Left/Right should work in the chat input under Warp, matching behavior in Ghostty and the plain shell prompt.
Environment
- Claude Code: 2.1.197 (regressed from working 2.1.196)
- Terminal: Warp v0.2026.06.24.09.19.03 (TERM=xterm-256color)
- OS: macOS (Darwin 25.5.0)
Steps to Reproduce
- Open Claude Code inside Warp terminal
- Type a multi-word line in the chat input
- Press Option+Backspace, or Cmd+Left / Cmd+Right
- Observe: no effect (works fine in Ghostty or at the plain shell prompt)