[Bug] Caps Lock key prints raw escape sequence in terminal on macOS

Resolved 💬 4 comments Opened Mar 26, 2026 by ep-code-box Closed Apr 18, 2026

Bug Description
▎ Terminal.app (macOS): Caps Lock key prints raw escape sequence [57358u in Claude Code

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.1.84
  • Feedback ID: bb83841b-ee77-4d6c-94f0-e6090b352db1

Errors

[{"error":"Error: 1: Command failed with ERR_STREAM_PREMATURE_CLOSE: code --force --install-extension anthropic.claude-code\nPremature close \n    at UR$ (/$bunfs/root/src/entrypoints/cli.js:2546:4096)\n    at async dR$ (/$bunfs/root/src/entrypoints/cli.js:2546:1501)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-26T09:20:41.656Z"}]

제목 예시:
▎ Terminal.app (macOS): Caps Lock key prints raw escape sequence [57358u in Claude Code

내용:

  • macOS Terminal.app 사용
  • Caps Lock 누르면 [57358u[57358u 출력됨
  • kitty keyboard protocol 미지원 터미널에서 raw sequence가 그대로 노출되는 문제

View original on GitHub ↗

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