You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Caps Lock key inserts raw escape sequence "[57358u" in chat input (VS Code 1.112.0 / macOS) #304679
bugIssue identified by VS Code Team member as probable bugconfirmedIssue has been confirmed by VS Code Team memberimportantIssue identified as high-priorityinsiders-releasedPatch has been released in VS Code Insidersterminal-inputRelating to typing in the terminal not doing the right thing, IMEs not working, etc.verifiedVerification succeeded
Open the VS Code User Settings JSON打开 VS Code 用户设置 JSON
Command palette (CMD + Shift + P) -> Preferences: Open User Settings (JSON)命令调色板(CMD + Shift + P) -> Preferences: Open User Settings (JSON)
Not sure if Claude is using REPORT_ALL_KEYS or DISAMBIGUATE only btw. Maybe they just started swallowing unrecognized CSI sequences like \x1b[57358u sent via xterm.js
Which version of claude code are ppl using? And does updating claude code version fix the issue?
I was able to repro on 2.1.84 in vscode with kitty enabled, but not with 2.1.88 also with kitty keyboard enabled.
bugIssue identified by VS Code Team member as probable bugconfirmedIssue has been confirmed by VS Code Team memberimportantIssue identified as high-priorityinsiders-releasedPatch has been released in VS Code Insidersterminal-inputRelating to typing in the terminal not doing the right thing, IMEs not working, etc.verifiedVerification succeeded
Activity
AltayAkkus commentedon Mar 25, 2026
Same error on my end!
wookkl commentedon Mar 25, 2026
Same!
xixihhhh commentedon Mar 25, 2026
Same!
wmzspace commentedon Mar 25, 2026
+1
HLGRL commentedon Mar 25, 2026
+1
jovid18 commentedon Mar 25, 2026
+1
Danielevko commentedon Mar 25, 2026
+1
AltayAkkus commentedon Mar 25, 2026
Fix
Command palette (CMD + Shift + P) ->
Preferences: Open User Settings (JSON)CC
thomasjoos-dev wookkl (@wookkl) Xihaha (@xixihhhh) Mianzi Wu (@wmzspace) HLGRL Jovid (@jovid18) Daniel Levkovitz (@Danielevko)
HLGRL commentedon Mar 25, 2026
Thanks it works!
SonettoGu14 commentedon Mar 25, 2026
Works for me! Thanks a lot!
AgainPsychoX commentedon Mar 26, 2026
Related anthropics/claude-code#38624
anthonykim1 commentedon Mar 30, 2026
I'm able to repro.
Will try to figure out a fix.
anthonykim1 commentedon Mar 31, 2026
Actually, looking at mentioned issues in anthropics/claude-code#38624 and anthropics/claude-code#38766 (comment) got me wondering if the problem is coming from claude or vscode via xterm.js.
Most issues from: https://github.com/anthropics/claude-code/issues?q=is%3Aissue%20state%3Aopen%20kitty%20keyboard&page=1 seem to mention vscode.
Which version of claude code are ppl using? And does updating claude code version fix the issue?

I was able to repro on 2.1.84 in vscode with kitty enabled, but not with 2.1.88 also with kitty keyboard enabled.