From ad62e1e129c84c285b6c4f47d8d5e1a94fd6947b Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Mon, 7 Feb 2022 10:29:43 +0900 Subject: fix: Revert Block widget change that broke autoinfo background --- helix-tui/src/widgets/block.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helix-tui') 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 -- cgit v1.2.3-70-g09d2