From 568de22b6fccae035647174493dbc8fad4bfaa73 Mon Sep 17 00:00:00 2001 From: Ahmed Ibrahim Date: Sat, 7 Mar 2026 12:12:59 -0800 Subject: [PATCH] codex: fix CI failure on PR #13820 --- codex-rs/tui/src/bottom_pane/chat_composer.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/codex-rs/tui/src/bottom_pane/chat_composer.rs b/codex-rs/tui/src/bottom_pane/chat_composer.rs index 47a642ddd3..51c845004d 100644 --- a/codex-rs/tui/src/bottom_pane/chat_composer.rs +++ b/codex-rs/tui/src/bottom_pane/chat_composer.rs @@ -3759,6 +3759,10 @@ impl ChatComposer { self.status_line_enabled = enabled; true } + + pub(crate) fn transcription_placeholder_exists(&self, id: &str) -> bool { + self.textarea.named_element_range(id).is_some() + } } #[cfg(not(target_os = "linux"))] @@ -4036,10 +4040,6 @@ impl ChatComposer { id } - pub(crate) fn transcription_placeholder_exists(&self, id: &str) -> bool { - self.textarea.named_element_range(id).is_some() - } - pub fn remove_transcription_placeholder(&mut self, id: &str) { self.stop_transcription_spinner(id); let _ = self.textarea.replace_element_by_id(id, "");