Correctly show preview var window for --multi (#472)

This commit is contained in:
Denis Isidoro 2021-04-05 09:30:25 -03:00 committed by GitHub
parent deca1f5426
commit 43f017353e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -127,7 +127,7 @@ fn prompt_finder(
overrides: config.fzf_overrides_var.clone(),
preview: Some(format!(
r#"{prefix}navi preview-var "$(cat <<NAVIEOF
{{}}
{{+}}
NAVIEOF
)" "$(cat <<NAVIEOF
{{q}}

View file

@ -128,7 +128,7 @@ pub fn preview_var(selection: &str, query: &str, variable: &str) {
color = variable_color,
variable = variable_name,
reset = reset,
value = &finder::process(value, column, delimiter.as_deref(), map.clone())
value = finder::process(value, column, delimiter.as_deref(), map.clone())
.expect("Unable to process value"),
);
}