mirror of
https://github.com/openai/codex.git
synced 2026-11-13 22:47:20 +00:00
chore: clear background terminals on interrupt (#8786)
This commit is contained in:
1 parent
d1c6329c32
commit
740bf0e755
2 files changed
+22
No files matched your search
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user