mirror of
https://github.com/openai/codex.git
synced 2026-11-06 20:20:34 +00:00
codex: fix CI failure on PR #13193
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -3168,6 +3168,16 @@ impl App {
|
||||
}
|
||||
}
|
||||
}
|
||||
AppEvent::UpdateRecordingMeter { id, text } => {
|
||||
self.chat_widget.update_transcription_in_place(&id, &text);
|
||||
}
|
||||
AppEvent::TranscriptionComplete { id, text } => {
|
||||
self.chat_widget.replace_transcription(&id, &text);
|
||||
}
|
||||
AppEvent::TranscriptionFailed { id, error } => {
|
||||
tracing::error!("voice transcription failed: {error}");
|
||||
self.chat_widget.remove_transcription_placeholder(&id);
|
||||
}
|
||||
}
|
||||
Ok(AppRunControl::Continue)
|
||||
}
|
||||
|
||||
@@ -894,7 +894,6 @@ impl TextArea {
|
||||
id
|
||||
}
|
||||
|
||||
#[cfg(not(target_os = "linux"))]
|
||||
pub fn insert_named_element(&mut self, text: &str, id: String) {
|
||||
let start = self.clamp_pos_for_insertion(self.cursor_pos);
|
||||
self.insert_str_at(start, text);
|
||||
|
||||
Reference in New Issue
Block a user