summaryrefslogtreecommitdiff
path: root/helix-tui/src/widgets/block.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-tui/src/widgets/block.rs')
-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 f084a324..26223c3e 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.clear_with(area, self.style);
+ buf.set_style(area, self.style);
let symbols = BorderType::line_symbols(self.border_type);
// Sides