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)