chore: re-enable filtering

This commit is contained in:
iff 2025-04-22 14:34:07 +02:00
parent e4411082bb
commit 964a3b7b7e
2 changed files with 10 additions and 9 deletions

View file

@ -121,11 +121,11 @@ pub fn select_candidate(data: &mut Data) {
let confirm = format!("[{}]", t!("confirm-yes")).green();
let hint = format!("{} {} {}", "[↑/↓/j/k]".blue(), confirm, "[ESC]".red());
eprintln!("{}", msg);
eprintln!("{}", hint);
eprint!("{}", hint);
let ans = Select::new("\n", highlight_candidates.clone())
.with_vim_mode(true)
.without_filtering()
// .without_filtering()
.without_help_message()
.with_render_config(render_config)
.prompt()