[BUG] Promt input delete whole text by Ctrl+Backspace and do not support Ctrl+Arrow navigation with Japanese, Arabic, and Korean lang
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?
When entering prompts in Japanese, Arabic, and Korean languages, word-based keyboard shortcuts don't work correctly:
Ctrl+Backspace - deletes the entire text line instead of just the last word
Ctrl+← / Ctrl+→ - jumps to the beginning/end of the entire line instead of moving between words
With Latin characters, both shortcuts work correctly:
Ctrl+Backspace deletes only the last word
Ctrl+Arrow keys navigate word by word
Expected behavior:
Ctrl+Backspace should delete only the last word
Ctrl+Arrow keys should navigate between words
Actual behavior:
Ctrl+Backspace deletes the entire text line
Ctrl+Arrow keys jump to line start/end
What Should Happen?
Ctrl+Backspace should delete only the last word
Ctrl+Arrow keys should navigate between words
Error Messages/Logs
Steps to Reproduce
- Open CC
- Paste 今日はいい天気ですね الجو جميل اليوم 오늘 날씨가 참 좋네요 (this is the text in Japanese, Arabic and Korean with spaces)
- Try to use Ctrl+Backspace to delete the last word and Ctrl+Arrow to move the cursor
Claude Model
None
Is this a regression?
No, this never worked.
Last Working Version
_No response_
Claude Code Version
2.0.28
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Bash
Additional Information
Probably it happens for all kinds of non-Latin chars
Also looks like it's NOT only for Windows
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗