From f04b7a9da34d1c5bf37afcd26a4d3593e0ffc022 Mon Sep 17 00:00:00 2001 From: Jeremy Rose Date: Tue, 26 Aug 2025 13:30:47 -0700 Subject: [PATCH] match transcript bottom margin to main display --- codex-rs/tui/src/transcript_app.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/codex-rs/tui/src/transcript_app.rs b/codex-rs/tui/src/transcript_app.rs index c2b73fe3d8..1adc18ba37 100644 --- a/codex-rs/tui/src/transcript_app.rs +++ b/codex-rs/tui/src/transcript_app.rs @@ -314,9 +314,10 @@ impl TranscriptApp { fn scroll_area(&self, area: Rect) -> Rect { let mut area = area; - // Reserve 1 line for the header and 4 lines for the bottom status section. This matches the chat composer. + // Reserve 1 line for the header and 3 lines for the bottom status section. + // This aligns the overlay pager margins with the inline case. area.y = area.y.saturating_add(1); - area.height = area.height.saturating_sub(5); + area.height = area.height.saturating_sub(4); area } }