aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/ui/info.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term/src/ui/info.rs')
-rw-r--r--helix-term/src/ui/info.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/ui/info.rs b/helix-term/src/ui/info.rs
index 6e810b86..0f14260e 100644
--- a/helix-term/src/ui/info.rs
+++ b/helix-term/src/ui/info.rs
@@ -5,7 +5,7 @@ use tui::buffer::Buffer as Surface;
use tui::widgets::{Block, Borders, Widget};
impl Component for Info {
- fn render(&self, viewport: Rect, surface: &mut Surface, cx: &mut Context) {
+ fn render(&mut self, viewport: Rect, surface: &mut Surface, cx: &mut Context) {
let style = cx.editor.theme.get("ui.popup");
// Calculate the area of the terminal to modify. Because we want to