mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 01:16:18 +04:00
Fix Prompt::handle_event compilation
This commit is contained in:
parent
4c9f144dac
commit
7c34f20dca
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user