mirror of
https://github.com/openai/codex.git
synced 2026-11-25 15:24:26 +00:00
nit: do not render terminal interactions if no task running (#9374)
To prevent race where the terminal interaction message is processed after the last message
This commit is contained in:
1 parent
483239d861
commit
9ec20ba065
2 files changed
+29
No files matched your search
@@ -1226,6 +1226,9 @@ impl ChatWidget {
|
||||
}
|
||||
|
||||
fn on_terminal_interaction(&mut self, ev: TerminalInteractionEvent) {
|
||||
if !self.bottom_pane.is_task_running() {
|
||||
return;
|
||||
}
|
||||
self.flush_answer_stream_with_separator();
|
||||
let command_display = self
|
||||
.unified_exec_processes
|
||||
|
||||
Reference in new issue
Block a user