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

Resolved 💬 3 comments Opened Mar 25, 2026 by smalibary Closed Apr 18, 2026

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 ↗

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