diff options
Diffstat (limited to 'src/commands/fzf.rs')
-rw-r--r-- | src/commands/fzf.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commands/fzf.rs b/src/commands/fzf.rs index 9c60c54..bc4667a 100644 --- a/src/commands/fzf.rs +++ b/src/commands/fzf.rs @@ -51,7 +51,7 @@ pub fn fzf_multi( } fn fzf_impl( - context: &mut AppContext, + _context: &mut AppContext, backend: &mut AppBackend, items: Vec<String>, args: Vec<String>, @@ -68,7 +68,7 @@ fn fzf_impl( let mut fzf = match cmd.spawn() { Ok(child) => child, Err(e) => { - backend.terminal_restore(context.config_ref().mouse_support)?; + backend.terminal_restore()?; return Err(AppError::from(e)); } }; @@ -82,7 +82,7 @@ fn fzf_impl( } let fzf_output = fzf.wait_with_output(); - backend.terminal_restore(context.config_ref().mouse_support)?; + backend.terminal_restore()?; if let Ok(output) = fzf_output { if output.status.success() { |