tui: open transcript mode at the bottom (#2592)
this got lost when we switched /diff to use the pager.
This commit is contained in:
parent
85099017fd
commit
6de9541f0a
1 changed files with 2 additions and 2 deletions
|
|
@ -28,7 +28,7 @@ impl TranscriptApp {
|
|||
pub(crate) fn new(transcript_lines: Vec<Line<'static>>) -> 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,
|
||||
..
|
||||
} => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue