aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src
diff options
context:
space:
mode:
authorMichael Davis2022-08-31 16:37:14 +0000
committerMichael Davis2022-08-31 16:37:17 +0000
commit7c34f20dcadfa79d628da1e3fff0d1b999fa3435 (patch)
treed934480c907b2d8b45166c4d0f6011f39e1b1c27 /helix-term/src
parent4c9f144dace484ca99cc84053493ed7b5f6946ac (diff)
Fix Prompt::handle_event compilation
Diffstat (limited to 'helix-term/src')
-rw-r--r--helix-term/src/ui/prompt.rs2
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);
}