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, );