Spacebar stops working for text input in v2.1.87

Resolved 💬 4 comments Opened Mar 30, 2026 by ligon Closed May 3, 2026

Description

After upgrading to v2.1.87, the spacebar no longer inserts spaces in the text input prompt. Spaces work fine in the regular terminal. Downgrading to v2.1.86 resolves the issue.

Environment

  • CLI version: 2.1.87 (worked in 2.1.86)
  • OS: Linux (ChromeOS/Crostini - Linux 6.6.99)
  • Terminal: default terminal
  • Voice mode: disabled

Steps to Reproduce

  1. Install @anthropic-ai/claude-code@2.1.87
  2. Launch claude
  3. Try typing a sentence with spaces in the input prompt
  4. Spacebar key presses are ignored / not registered

Expected Behavior

Spaces are inserted into the input text.

Workaround

Downgrade to 2.1.86: npm install -g @anthropic-ai/claude-code@2.1.86

View original on GitHub ↗

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