From d4b85ce18d8a9bb535eaeae9e2c7421ef81c81e9 Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Tue, 9 Feb 2021 15:40:30 +0900 Subject: popup: wip work on completion popups --- helix-term/src/ui/picker.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'helix-term/src/ui/picker.rs') diff --git a/helix-term/src/ui/picker.rs b/helix-term/src/ui/picker.rs index 60828b6f..d8da052a 100644 --- a/helix-term/src/ui/picker.rs +++ b/helix-term/src/ui/picker.rs @@ -257,7 +257,7 @@ impl Component for Picker { } } - fn cursor_position(&self, area: Rect, ctx: &mut Context) -> Option { - self.prompt.cursor_position(area, ctx) + fn cursor_position(&self, area: Rect, editor: &Editor) -> Option { + self.prompt.cursor_position(area, editor) } } -- cgit v1.2.3-70-g09d2