claude-code - 💡(How to fix) Fix Feature request: Toggle mode for /voice push-to-talk [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#46169Fetched 2026-04-11 06:27:19
View on GitHub
Comments
1
Participants
2
Timeline
3
Reactions
0
Timeline (top)
labeled ×2commented ×1
RAW_BUFFERClick to expand / collapse

Feature Request

Current behavior

/voice requires holding down the spacebar (push-to-talk) for the entire duration of recording. This is inconvenient for longer dictation sessions.

Desired behavior

Add a toggle mode option for /voice: press once to start recording, press again to stop — instead of requiring continuous key hold.

Motivation

  • Holding spacebar for extended periods is ergonomically uncomfortable
  • In meeting/discussion scenarios (e.g., using /voice for transcription), hands-free recording is much more practical
  • A simple toggle would greatly improve the voice dictation UX

Suggested implementation

  • Add a setting like voice.mode: "toggle" | "pushToTalk" (default: pushToTalk for backward compatibility)
  • Or add a keybinding action voice:toggleRecord alongside the existing voice:pushToTalk

extent analysis

TL;DR

Implementing a toggle mode for the /voice feature by adding a setting or keybinding action can improve the user experience for longer dictation sessions.

Guidance

  • Consider adding a voice.mode setting with "toggle" and "pushToTalk" options to provide users with a choice between the current behavior and the proposed toggle mode.
  • Introduce a new keybinding action voice:toggleRecord to allow users to start and stop recording with a single press, while keeping the existing voice:pushToTalk action for backward compatibility.
  • Evaluate the ergonomic and practical benefits of hands-free recording in meeting and discussion scenarios to inform the design of the toggle mode feature.
  • Assess the potential impact of the new feature on existing user workflows and consider implementing it as an optional setting to minimize disruption.

Example

// Example of how the voice.mode setting could be implemented
const voiceMode = 'toggle'; // or 'pushToTalk'
if (voiceMode === 'toggle') {
  // Implement toggle mode logic
} else {
  // Implement push-to-talk logic
}

Notes

The implementation details of the toggle mode feature are not specified, and the best approach may depend on the specific requirements and constraints of the application.

Recommendation

Apply workaround by introducing a new keybinding action voice:toggleRecord to provide an alternative to the existing push-to-talk behavior, allowing users to choose the most convenient method for their needs.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING