Skip to content

Commit

Permalink
Fix Prompt::handle_event compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
the-mikedavis committed Aug 31, 2022
1 parent 4c9f144 commit 7c34f20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helix-term/src/ui/prompt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 7c34f20

Please sign in to comment.