[Bug] Korean IME toggle key prints literal escape sequence in VS Code terminal

Resolved 💬 2 comments Opened Mar 26, 2026 by younyoungieo Closed Apr 18, 2026

Bug Description
Bug: Korean IME toggle key (한/영) prints "[57358u" literally in VS
Code integrated terminal.

When using Claude Code in VS Code's integrated terminal and pressing
the Korean/English toggle key (한/영), the escape sequence "[57358u"
is printed literally in the input instead of switching the IME.

This does NOT happen in external terminals (e.g., iTerm2) — only in VS
Code's integrated terminal.

Tried: TERM=xterm-256color, disabling shellIntegration — neither
worked.

Root cause appears to be Claude Code enabling the kitty keyboard
protocol but not handling the Korean IME toggle key (CSI 57358 u)
properly.

Environment: macOS, VS Code integrated terminal, Korean keyboard
layout

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.1.83
  • Feedback ID: dffefd63-8540-4861-ab54-2167c67e424e

Errors

[]

View original on GitHub ↗

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