[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
Found 3 possible duplicate issues:
- https://github.com/anthropics/claude-code/issues/3015
- https://github.com/anthropics/claude-code/issues/4456
- https://github.com/anthropics/claude-code/issues/8398
This issue will be automatically closed as a duplicate in 3 days.
- If your issue is a duplicate, please close it and 👍 the existing issue instead
- To prevent auto-closure, add a comment or 👎 this comment
🤖 Generated with Claude Code
Probably it happens for all kinds of non-Latin chars Also looks like it's NOT only for Windows
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
This issue still remains. For example, with CC v2.0.59 under WSL installed by npm: Type in Ukrainian "Доброго ранку", press Ctrl+Backspace. The whole text is deleted instead of one word