Caps Lock key prints raw Kitty protocol escape sequence [57358u

Status Fixed / completed
Maintainer reply ✓ Yes — ashwin-ant
Activity 3 comments · opened Mar 25, 2026 · closed Apr 18, 2026
💡 Likely answer: A maintainer (ashwin-ant, collaborator) responded on this thread — see the highlighted reply below.

Description

When pressing the Caps Lock key inside Claude Code, the raw escape sequence [57358u is printed into the input field instead of being handled silently.

Environment

  • Platform: Windows 11 Home 10.0.26200
  • Claude Code version: CLI
  • Shell: bash

Steps to Reproduce

  1. Open Claude Code
  2. Press Caps Lock while the input field is focused
  3. [57358u appears in the input

Expected Behavior

Caps Lock should toggle silently without printing anything.

Actual Behavior

The Kitty keyboard protocol escape sequence [57358u (keycode 57358 = Caps Lock) is printed as raw text.

View original on GitHub ↗

3 Comments

yurukusa · 5 months ago

/tmp/kitty-comment.md

ashwin-ant collaborator · 4 months ago

This was fixed in v2.1.85 — Pressing Caps Lock no longer inserts the raw escape sequence [57358u into the input. If you're still seeing this in the latest version, please comment with your version and repro and we'll reopen.

github-actions[bot] · 4 months ago

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.