chore: clear background terminals on interrupt (#8786)

This commit is contained in:
jif-oai authored and GitHub committed 2026-01-06 19:01:07 +00:00
1 parent d1c6329c32
commit 740bf0e755
2 files changed
+22

No files matched your search

+2
View File
@@ -801,6 +801,8 @@ impl ChatWidget {
fn on_interrupted_turn(&mut self, reason: TurnAbortReason) {
// Finalize, log a gentle prompt, and clear running state.
self.finalize_turn();
self.unified_exec_sessions.clear();
self.sync_unified_exec_footer();
if reason != TurnAbortReason::ReviewEnded {
self.add_to_history(history_cell::new_error_event(