mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
Add voice mute shortcut and recording activity indicators (#43651)
## What changed - Add `Ctrl+X` to toggle the microphone for the active voice session on the current thread, with a footer hint and guards for modals, popups, and repeated key events. - Show a recording dot in the terminal title's activity indicator while the microphone is listening, respecting title settings and clearing it when capture stops. - Replace the microphone and speaker bars with compact Braille meters showing four recent amplitude samples. - Briefly show `heard` when voice input interrupts speech, when animations are enabled. ## Testing Add regression tests for shortcut routing, amplitude glyphs, interruption acknowledgment, and terminal title lifecycle, plus updated voice footer snapshots. GitOrigin-RevId: e1dc0c1744667e646e0040e247c5a0409b416075
This commit is contained in:
1 parent
6fee98cc85
commit
4b0d9669cc
13 files changed
+774
-290
No files matched your search
@@ -60,6 +60,10 @@ impl ChatWidget {
|
||||
return;
|
||||
}
|
||||
|
||||
if self.handle_realtime_microphone_shortcut(key_event) {
|
||||
return;
|
||||
}
|
||||
|
||||
match key_event {
|
||||
KeyEvent {
|
||||
code: KeyCode::Char(c),
|
||||
|
||||
Reference in new issue
Block a user