The Ctrl+W shortcut ignores non-Latin words

Resolved 💬 5 comments Opened Jun 18, 2025 by Perlence Closed Dec 3, 2025
Bug Description

The Ctrl+W shortcut ignores non-Latin words. For example, in the prompt hello world привет բարև გამარჯობა|, where "|" is the cursor, pressing Ctrl+W removes too many words, leaving only hello |. The Ctrl+W shortcut is a very big part of the muscle memory when working in a terminal.

This issue is made worse by the fact that the Ctrl+Y shortcut doesn't work #1581, so I can't undo the accidental removal of the entire sentence.

For now, I work around this by editing the prompt in a separate editor and pasting the text into Claude Code when I'm done, which is a pretty bad UX.

Environment Info
  • Platform: darwin
  • Terminal: pycharm
  • Version: 1.0.25
  • Feedback ID: 8a6050de-5edd-4ed5-9e0d-99e9f81a5d0e

View original on GitHub ↗

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