Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

fix(tui2): running /mcp was not printing any output until another event triggered a flush (#9457)

Michael Bolinc87a7d90437b
diff --git a/codex-rs/tui2/src/app.rs b/codex-rs/tui2/src/app.rs
index 6cc764c4a2..e6f7fd5f4e 100644
--- a/codex-rs/tui2/src/app.rs
+++ b/codex-rs/tui2/src/app.rs
@@ -1610,6 +1610,8 @@ impl App {
self.transcript_cells.push(cell.clone());
if self.overlay.is_some() {
self.deferred_history_cells.push(cell);
+ } else {
+ tui.frame_requester().schedule_frame();
}
}
AppEvent::StartCommitAnimation => {