Voice mode: holding spacebar inserts spaces instead of triggering recording on Linux

Resolved 💬 2 comments Opened Mar 15, 2026 by mithran-daniel Closed Apr 12, 2026

Description

Voice mode spacebar capture does not work on Linux. When voice mode is enabled (via /voice) and the spacebar is held, it just inserts spaces into the input instead of triggering audio recording.

Steps to reproduce

  1. Start Claude Code on Linux
  2. Run /voice to enable voice mode
  3. Hold the spacebar

Expected: Recording starts
Actual: Spaces are inserted into the input field

Additional notes

  • Tested both inside a bubblewrap sandbox and running claude directly — same behaviour in both cases
  • voiceEnabled: true is set in ~/.claude/settings.json
  • The issue appears to be that the spacebar key handler is not intercepting the keypress at all

Environment

  • Claude Code version: 2.1.76
  • OS: Linux (Ubuntu, kernel 6.8.0-101-generic)
  • Shell: zsh
  • TERM: xterm-256color

View original on GitHub ↗

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