From 77a20fb86ff7a37301be2f113c0a5279524960a2 Mon Sep 17 00:00:00 2001 From: extrawurst Date: Wed, 31 Aug 2022 11:53:26 +0200 Subject: [PATCH] small visual fixes --- src/components/submodules.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/submodules.rs b/src/components/submodules.rs index 6a091b60..06c7c26c 100644 --- a/src/components/submodules.rs +++ b/src/components/submodules.rs @@ -489,9 +489,10 @@ impl SubmodulesListComponent { f.render_widget( Paragraph::new(self.get_text( &self.theme, - r.width, + r.width.saturating_add(1), height_in_lines, )) + .block(Block::default().borders(Borders::RIGHT)) .alignment(Alignment::Left), r, );