diff options
author | Michael Davis | 2022-08-31 16:37:14 +0000 |
---|---|---|
committer | Michael Davis | 2022-08-31 16:37:17 +0000 |
commit | 7c34f20dcadfa79d628da1e3fff0d1b999fa3435 (patch) | |
tree | d934480c907b2d8b45166c4d0f6011f39e1b1c27 /helix-term/src | |
parent | 4c9f144dace484ca99cc84053493ed7b5f6946ac (diff) |
Fix Prompt::handle_event compilation
Diffstat (limited to 'helix-term/src')
-rw-r--r-- | helix-term/src/ui/prompt.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/ui/prompt.rs b/helix-term/src/ui/prompt.rs index 55091a54..1b2c35e9 100644 --- a/helix-term/src/ui/prompt.rs +++ b/helix-term/src/ui/prompt.rs @@ -472,7 +472,7 @@ impl Component for Prompt { fn handle_event(&mut self, event: &Event, cx: &mut Context) -> EventResult { let event = match event { Event::Paste(data) => { - self.insert_str(data); + self.insert_str(data, cx.editor); self.recalculate_completion(cx.editor); return EventResult::Consumed(None); } |