Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Clear /ps after /stop (#17416)

Eric Traut1e27028360c4
diff --git a/codex-rs/tui/src/chatwidget.rs b/codex-rs/tui/src/chatwidget.rs
index 1e5ad3e56a..fe83404523 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,