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