From 85dd6a849ec3523296e8d06cfe0eee37e1ea443e Mon Sep 17 00:00:00 2001 From: Daniel Edrisian Date: Wed, 17 Sep 2025 16:25:35 -0700 Subject: [PATCH] rm ReviewStatusHistoryCell --- codex-rs/tui/src/history_cell.rs | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/codex-rs/tui/src/history_cell.rs b/codex-rs/tui/src/history_cell.rs index b4b7e6f46c..42a9a6f299 100644 --- a/codex-rs/tui/src/history_cell.rs +++ b/codex-rs/tui/src/history_cell.rs @@ -230,21 +230,12 @@ impl HistoryCell for TranscriptOnlyHistoryCell { } /// Cyan history cell line showing the current review status. -#[derive(Debug)] -pub(crate) struct ReviewStatusHistoryCell { - message: String, -} - -impl HistoryCell for ReviewStatusHistoryCell { - fn display_lines(&self, _width: u16) -> Vec> { - vec![Line::from(self.message.clone().cyan())] +pub(crate) fn new_review_status_line(message: String) -> PlainHistoryCell { + PlainHistoryCell { + lines: vec![Line::from(message.cyan())], } } -pub(crate) fn new_review_status_line(message: String) -> ReviewStatusHistoryCell { - ReviewStatusHistoryCell { message } -} - #[derive(Debug)] pub(crate) struct PatchHistoryCell { event_type: PatchEventType,