aboutsummaryrefslogtreecommitdiff
path: root/helix-tui/src
diff options
context:
space:
mode:
Diffstat (limited to 'helix-tui/src')
-rw-r--r--helix-tui/src/widgets/block.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-tui/src/widgets/block.rs b/helix-tui/src/widgets/block.rs
index 26223c3e..f084a324 100644
--- a/helix-tui/src/widgets/block.rs
+++ b/helix-tui/src/widgets/block.rs
@@ -134,7 +134,7 @@ impl<'a> Widget for Block<'a> {
if area.area() == 0 {
return;
}
- buf.set_style(area, self.style);
+ buf.clear_with(area, self.style);
let symbols = BorderType::line_symbols(self.border_type);
// Sides