Skip to content

Commit c75c7ac

Browse files
authored
Merge pull request #73 from Romankivs/fix-no-bg-color
fix: set correct bg colour for trailing line whitespaces
2 parents 8fe9a72 + 9465333 commit c75c7ac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ui/tui.rs

+1
Original file line numberDiff line numberDiff line change
@@ -726,6 +726,7 @@ fn render_line(
726726
}
727727

728728
if cols < max_cols {
729+
buf.push_str(&Style::Bg(cs.bg).to_string());
729730
buf.extend(std::iter::repeat_n(' ', max_cols - cols));
730731
}
731732

0 commit comments

Comments
 (0)