codex: fix CI failure on PR #13193

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Ahmed Ibrahim
2026-03-01 17:13:18 -07:00
co-authored by Codex
parent f574ec3213
commit 88f4a24dfa
2 changed files with 10 additions and 1 deletions
+10
View File
@@ -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)
}
-1
View File
@@ -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);