summaryrefslogtreecommitdiffstats
path: root/src/commands/custom_search.rs
diff options
context:
space:
mode:
authorJeff Zhao <jeff.no.zhao@gmail.com>2024-03-10 21:17:09 -0400
committerJeff Zhao <jeff.no.zhao@gmail.com>2024-03-10 21:17:09 -0400
commit8af827604620f8135c98d6f4c8e4b647c06d1c32 (patch)
tree8641bdd607177d92df3c91e700493c65f120859d /src/commands/custom_search.rs
parent4267cb55085b24770ee35c841c940f8ea7233445 (diff)
move preview area into PreviewContext
- move a bunch of methods out into functions
Diffstat (limited to 'src/commands/custom_search.rs')
-rw-r--r--src/commands/custom_search.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/custom_search.rs b/src/commands/custom_search.rs
index a9d4405..422143e 100644
--- a/src/commands/custom_search.rs
+++ b/src/commands/custom_search.rs
@@ -57,7 +57,7 @@ pub fn custom_search(
.stdout(Stdio::piped())
.spawn()?
.wait_with_output()?;
- backend.terminal_restore(context.config_ref().mouse_support)?;
+ backend.terminal_restore()?;
cmd_result
} else {
cmd.output()?