diff --git a/codex-rs/tui/src/chatwidget.rs b/codex-rs/tui/src/chatwidget.rs index 1e5ad3e56..fe8340452 100644 --- a/codex-rs/tui/src/chatwidget.rs +++ b/codex-rs/tui/src/chatwidget.rs @@ -7260,6 +7260,8 @@ impl ChatWidget { fn clean_background_terminals(&mut self) { self.submit_op(AppCommand::clean_background_terminals()); + self.unified_exec_processes.clear(); + self.sync_unified_exec_footer(); self.add_info_message( "Stopping all background terminals.".to_string(), /*hint*/ None,