[2.1.83+] Korean IME toggle key outputs [57358u in input area (regression from 2.1.81)
Status Fixed / completed
Reported on v2.1.83
Maintainer reply ✓ Yes — ashwin-ant
Workaround ✓ Mentioned in thread ↓
Activity 6 comments · opened Mar 26, 2026 · closed Apr 18, 2026
💡 Likely answer: A maintainer (ashwin-ant, collaborator)
responded on this thread — see the highlighted reply below.
Bug Description
When pressing the Korean IME toggle key (한/영 or Caps Lock configured for Korean input switching) in the Claude Code input area, the raw escape sequence [57358u is printed instead of switching the input method silently.
Environment
- OS: macOS
- Terminal: VSCode integrated terminal
- Claude Code version with bug: 2.1.83, 2.1.84
- Claude Code version without bug: 2.1.81 (confirmed working)
Steps to Reproduce
- Open Claude Code in VSCode integrated terminal
- Press the Korean IME toggle key (한/영 key or Caps Lock remapped for Korean input)
- Observe
[57358ubeing printed in the input area
Expected Behavior
The IME toggle key should switch the input method without printing any characters.
Actual Behavior
[57358u is printed in the input field every time the key is pressed.
Additional Context
- The issue started appearing after Claude Code auto-updated from 2.1.81 → 2.1.83
- Existing sessions that were opened before the update (running 2.1.81) work correctly
- New sessions (running 2.1.83+) reproduce the issue consistently
- Other users on the same version may not have encountered it yet (haven't opened new sessions)
57358decimal =0xDFEE— this is a Kitty Keyboard Protocol encoding for a key without a standard Unicode codepoint
🤖 Generated with Claude Code
6 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
Same issue here. macOS + VS Code integrated terminal, Claude Code 2.1.84. Pressing the Korean IME toggle key (한/영) prints
[57358uinstead of switching input method. Setting"terminal.integrated.keyboard.protocol": "standard"in VS Code settings.json does not fix it. Worked fine on 2.1.81.Fix found for the \
[57358u\/ Caps Lock escape sequence issue!If you're experiencing this with Caps Lock (or any input source switch key), there's a VS Code keybinding workaround that takes about 1 minute:
Cmd\+ \Shift\+ \P\[ ]\array:\
\\json\{
"key": "capslock",
"command": "workbench.action.terminal.focus",
"when": "terminalFocus"
}
\
\Cmd\+ \S\) — no restart needed.This intercepts the Caps Lock key in the terminal so xterm.js doesn't forward the raw kitty protocol escape sequence into input. OS-level input source switching still works normally.
Full explanation in: anthropics/claude-code#39231
/tmp/kitty-comment2.md
This was fixed in v2.1.85 — The Korean IME toggle key no longer inserts
[57358uinto the input. If you're still seeing this in the latest version, please comment with your version and repro and we'll reopen.This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.