Voice mode: holding Space sends literal spaces instead of recording audio on macOS terminal (zsh)
Status Open
Maintainer reply None cached
Activity 13 comments · opened Mar 6, 2026
Bug Report
Claude Code version: latest (March 2026 rollout)
OS: macOS Darwin 25.3.0
Shell: zsh
Terminal: macOS Terminal.app
Steps to Reproduce
- Enable voice mode with
/voice - Confirm "Voice mode enabled. Hold Space to record." message appears
- Hold Space to record a voice command
Expected Behavior
Holding Space activates push-to-talk microphone recording.
Actual Behavior
Holding Space sends literal space characters into the terminal instead of triggering audio recording. The transcription pipeline does not activate.
Additional Context
Microphone permissions have been granted in System Settings > Privacy & Security > Microphone for the terminal application. Toggling voice mode off and back on does not resolve the issue.
Related: #30904
13 Comments
I have the same in vi mode (using fish instead of zsh). Changing the keyboard shortcut doesn't fix the issue either.
Such a naive implementation, how could no one from their team notice it?
It started working for me, even though in VI mode it doesn't work in insert mode.
Notice if I repeatedly press space it tries to work.
So, I was able to fix this by going into the Mac keyboard settings and changing key repeat rate to fast and delay until repeat to short.
I'm seeing this as well with alacritty 0.16.1 and claude 2.1.80 on NixOS.
Root cause identified and patched — see #38690 for full analysis.
Two bugs in
useVoiceKeybindingHandler:useEffectdependency array includes setState, causing hold-detection counter to reset every renderstopImmediatePropagation()is a no-op in Ink's EventEmitter — space passes through to chat inputWorking patch verified on v2.1.83 (macOS ARM64).
And I think the fix broke in on linux. Cause it worked yesterday and now it doesn't.
Broken on Mac on the latest update ! (happened just today)
Broken on windows as well, worked earlier today.
Broken on Linux with Fish & Ghostty
Not working yet in macos
Still not working in macos