Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -13693,6 +13693,18 @@ def handle_voice_record(event):
daemon=True,
).start()
else:
# If continuous is already armed, pressing the hotkey
# expresses stop intent — disarm continuous so the loop
# won't auto-restart after the current STT/agent turn.
# This makes the hotkey a proper toggle even when not
# recording (the "dead zone" during STT or agent turns).
# Fixes #67545: Ctrl+B ignored during STT/agent.
if cli_ref._voice_continuous:
with cli_ref._voice_lock:
cli_ref._voice_continuous = False
event.app.invalidate()
return

# Guard: don't START recording during agent run or interactive prompts
if cli_ref._agent_running:
return
Expand Down
Loading