From 6de9541f0a3c409eebf2c08bc7046b3d742e78fb Mon Sep 17 00:00:00 2001 From: Jeremy Rose <172423086+nornagon-openai@users.noreply.github.com> Date: Fri, 22 Aug 2025 16:06:41 -0700 Subject: [PATCH] tui: open transcript mode at the bottom (#2592) this got lost when we switched /diff to use the pager. --- codex-rs/tui/src/transcript_app.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codex-rs/tui/src/transcript_app.rs b/codex-rs/tui/src/transcript_app.rs index efb0c2de..44c7ea5c 100644 --- a/codex-rs/tui/src/transcript_app.rs +++ b/codex-rs/tui/src/transcript_app.rs @@ -28,7 +28,7 @@ impl TranscriptApp { pub(crate) fn new(transcript_lines: Vec>) -> Self { Self { transcript_lines, - scroll_offset: 0, + scroll_offset: usize::MAX, is_done: false, title: "T R A N S C R I P T".to_string(), } @@ -105,7 +105,7 @@ impl TranscriptApp { self.scroll_offset = self.scroll_offset.saturating_sub(area.height as usize); } KeyEvent { - code: KeyCode::PageDown, + code: KeyCode::PageDown | KeyCode::Char(' '), kind: KeyEventKind::Press | KeyEventKind::Repeat, .. } => {