feat(ui): Added title to history details pane

This commit is contained in:
Nickiel12 2023-06-02 09:22:17 -07:00
parent a8178abe84
commit b4380f2125

View file

@ -68,7 +68,7 @@ pub fn render_history_tab<B: Backend> (f: &mut Frame<B>, body_rect: Rect, app: &
}
let paragraph = Paragraph::new(lines.clone())
.block(Block::default().borders(Borders::ALL));
.block(Block::default().borders(Borders::ALL).title("Details").title_alignment(ratatui::layout::Alignment::Left));
f.render_widget(paragraph, split_body[1]);