summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--helix-term/src/compositor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/compositor.rs b/helix-term/src/compositor.rs
index 967ea034..9811655c 100644
--- a/helix-term/src/compositor.rs
+++ b/helix-term/src/compositor.rs
@@ -131,7 +131,7 @@ impl Compositor {
let surface = self.terminal.current_buffer_mut();
- let area = surface.area().clone();
+ let area = *surface.area();
for layer in &self.layers {
layer.render(area, surface, cx)