From b4380f2125945691a13c8694155b2059a933956b Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Fri, 2 Jun 2023 09:22:17 -0700 Subject: [PATCH] feat(ui): Added title to history details pane --- src/uis/history.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uis/history.rs b/src/uis/history.rs index 54fee7a..2b87318 100644 --- a/src/uis/history.rs +++ b/src/uis/history.rs @@ -68,7 +68,7 @@ pub fn render_history_tab (f: &mut Frame, 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]);