[BUG] v2.1.111: Ctrl+W and Ctrl+U default bindings changed, shadowing readline delete-word and delete-to-line-start

Resolved 💬 5 comments Opened Apr 16, 2026 by KosmoCHE Closed Apr 18, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

After updating to v2.1.111 on macOS (iTerm2/Terminal.app), Ctrl+W now
deletes to start of line instead of deleting the previous word, and
Ctrl+U behavior also changed. Worked correctly on v2.1.110.

  • Ctrl+W: delete to start of line
  • Ctrl+U: delete entire input

What Should Happen?

  • Ctrl+W: delete previous word (werase)
  • Ctrl+U: delete to start of line (kill line backward)

Error Messages/Logs

Steps to Reproduce

  1. Update to v2.1.111 (macOS, iTerm2/Terminal)
  2. claude → type hello world foo bar → press Ctrl+W

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.99

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

iTerm2

Additional Information

_No response_

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗