Fix scrolling issues

This commit is contained in:
Ian Keane 2025-12-03 13:13:19 -05:00
parent 360af2f0cb
commit ccab4510ea
2 changed files with 212 additions and 142 deletions

View file

@ -901,9 +901,11 @@ fn render_log_view(frame: &mut Frame, app: &App) {
.collect()
};
// Use the scroll position calculated by the app
let paragraph = Paragraph::new(text_lines)
.block(block)
.wrap(ratatui::widgets::Wrap { trim: false });
.wrap(ratatui::widgets::Wrap { trim: false })
.scroll((app.log_view_scroll as u16, 0));
frame.render_widget(paragraph, chunks[0]);