Support toggling hidden files in search

This commit is contained in:
Jeremy Soller 2024-10-09 21:02:12 -06:00
parent f2e207b732
commit 28b4dda7e0
No known key found for this signature in database
GPG key ID: D02FD439211AF56F
3 changed files with 67 additions and 37 deletions

View file

@ -641,7 +641,12 @@ impl App {
let location_opt = match term_opt {
Some(term) => match &tab.location {
Location::Path(path) | Location::Search(path, ..) => Some((
Location::Search(path.to_path_buf(), term, Instant::now()),
Location::Search(
path.to_path_buf(),
term,
tab.config.show_hidden,
Instant::now(),
),
true,
)),
_ => None,