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
- Start Claude Code on Linux
- Run
/voiceto enable voice mode - Hold the spacebar
Expected: Recording starts
Actual: Spaces are inserted into the input field
Additional notes
- Tested both inside a bubblewrap sandbox and running
claudedirectly — same behaviour in both cases voiceEnabled: trueis 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
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗