aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlaž Hrastnik2022-02-07 01:29:43 +0000
committerBlaž Hrastnik2022-02-07 01:30:03 +0000
commitad62e1e129c84c285b6c4f47d8d5e1a94fd6947b (patch)
treef5f5abc0e8d535e2b5754e0fb4b4f7db7a0939c4
parente7f5ec55617f9f6cddfd78b3c42960f757705f2b (diff)
fix: Revert Block widget change that broke autoinfo background
-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