Voice mode: Space push-to-talk flickers due to key repeat on macOS
Resolved 💬 3 comments Opened Mar 12, 2026 by tayfuncakir Closed Apr 10, 2026
Description
When using /voice mode, holding Space for push-to-talk causes the recording to rapidly start and stop (flicker) instead of recording continuously. It behaves as if Space is being pressed and released repeatedly.
Environment
- macOS Darwin 24.6.0
- Key repeat rate: 2 (fast)
- Initial key repeat delay: 15
- Claude Code latest version
Steps to Reproduce
- Run
/voiceto enable voice mode - Hold Space to record
- Recording indicator flickers on/off rapidly instead of staying active
Expected Behavior
Holding Space should start recording and keep it active until the key is released.
Actual Behavior
Recording starts and stops repeatedly while Space is held down, as if macOS key repeat is triggering multiple keydown/keyup events.
Notes
- Rebinding
voice:pushToTalktoopt+spacevia keybindings.json did not resolve the issue ApplePressAndHoldEnabledfixes it but affects all keys globally- This likely needs to be handled at the app level by ignoring key repeat events for push-to-talk
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗