From eb200ca913b89f7c0c5b76be902b483ecdf24526 Mon Sep 17 00:00:00 2001 From: Michael Bolin Date: Tue, 5 Aug 2025 19:57:05 -0700 Subject: [PATCH] fix: fully enumerate EventMsg in chatwidget.rs --- codex-rs/tui/src/chatwidget.rs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/codex-rs/tui/src/chatwidget.rs b/codex-rs/tui/src/chatwidget.rs index 94bd2f121b..ef44971205 100644 --- a/codex-rs/tui/src/chatwidget.rs +++ b/codex-rs/tui/src/chatwidget.rs @@ -492,10 +492,12 @@ impl ChatWidget<'_> { EventMsg::ShutdownComplete => { self.app_event_tx.send(AppEvent::ExitRequest); } - event => { - let text = format!("{event:?}"); - self.add_to_history(HistoryCell::new_background_event(text.clone())); - self.update_latest_log(text); + EventMsg::BackgroundEvent(_) | EventMsg::PatchApplyEnd(_) | EventMsg::TurnDiff(_) => { + // event => { + // let text = format!("{event:?}"); + // self.add_to_history(HistoryCell::new_background_event(text.clone())); + // self.update_latest_log(text); + // } } } }