From c87a7d90437baa2b46a34e41d1fe319431ddddd7 Mon Sep 17 00:00:00 2001 From: Michael Bolin Date: Sun, 18 Jan 2026 19:19:37 -0800 Subject: [PATCH] fix(tui2): running /mcp was not printing any output until another event triggered a flush (#9457) This seems to fix things, but I'm not sure if this is the correct/minimal fix. --- codex-rs/tui2/src/app.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/codex-rs/tui2/src/app.rs b/codex-rs/tui2/src/app.rs index 6cc764c4a..e6f7fd5f4 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 => {