summaryrefslogtreecommitdiff
path: root/helix-tui/src/widgets
diff options
context:
space:
mode:
authorBlaž Hrastnik2022-01-31 04:42:32 +0000
committerBlaž Hrastnik2022-01-31 07:04:58 +0000
commit094a0aa3f9877e3b1049f262e65c8efea2b7b73e (patch)
treef1fc1ec2d3f9d2d3529d242133ffe096ba79a5ce /helix-tui/src/widgets
parentf7f55143a1c8f8f643c4ca59d8c4beb9612ef0bb (diff)
Render code actions as a menu, allow adding padding to popup
Diffstat (limited to 'helix-tui/src/widgets')
-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