fix: fully enumerate EventMsg in chatwidget.rs

This commit is contained in:
Michael Bolin
2025-08-05 19:57:05 -07:00
parent aff97ed7dd
commit eb200ca913

View File

@@ -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);
// }
}
}
}