diff options
author | Joe Neeman | 2021-06-22 19:49:55 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-06-23 01:03:11 +0000 |
commit | fd1ae35051b57e689f6e6ef7e03c552a78f3f33a (patch) | |
tree | f52cd747784d77ae8bf85854d40f77a9b6e3af80 /helix-term/src/ui/picker.rs | |
parent | 16883e754399eb5bfacdbc1f9c1c4ac57fd5de06 (diff) |
Make the prompt callback take a Context.
Diffstat (limited to 'helix-term/src/ui/picker.rs')
-rw-r--r-- | helix-term/src/ui/picker.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/ui/picker.rs b/helix-term/src/ui/picker.rs index a3fe5e61..722ad9ca 100644 --- a/helix-term/src/ui/picker.rs +++ b/helix-term/src/ui/picker.rs @@ -44,7 +44,7 @@ impl<T> Picker<T> { let prompt = Prompt::new( "".to_string(), |pattern: &str| Vec::new(), - |editor: &mut Editor, pattern: &str, event: PromptEvent| { + |editor: &mut Context, pattern: &str, event: PromptEvent| { // }, ); |