From 3541d25341cc1b750c98e24a8775b83c855a76ef Mon Sep 17 00:00:00 2001 From: Daniel Edrisian Date: Wed, 17 Sep 2025 15:26:48 -0700 Subject: [PATCH] Rm bottom padding --- codex-rs/tui/src/chatwidget.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/codex-rs/tui/src/chatwidget.rs b/codex-rs/tui/src/chatwidget.rs index b891518f62..a0d81acccb 100644 --- a/codex-rs/tui/src/chatwidget.rs +++ b/codex-rs/tui/src/chatwidget.rs @@ -637,11 +637,7 @@ impl ChatWidget { } fn layout_areas(&self, area: Rect) -> [Rect; 3] { - let bottom_min = if self.is_review_mode { - 3.min(area.height) - } else { - self.bottom_pane.desired_height(area.width).min(area.height) - }; + let bottom_min = self.bottom_pane.desired_height(area.width).min(area.height); let remaining = area.height.saturating_sub(bottom_min); let active_desired = self