This commit is contained in:
Kovid Goyal
2025-07-04 14:30:14 +05:30
parent 0c017e3c9b
commit bbdafb5641
2 changed files with 4 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ func (h *Handler) draw_footer() (num_lines int, err error) {
buf.WriteString(text)
pos += sz
}
w("Filter:", nil)
w("󰈲 Filter:", nil)
for _, name := range h.state.filter_names {
w(" "+name, utils.IfElse(name == h.state.current_filter, current_style, non_current_style))
}

View File

@@ -313,7 +313,9 @@ func (fss *FileSystemScorer) Start() {
fss.keep_going.Store(true)
if fss.scanner == nil {
sc := NewFileSystemScanner(fss.root_dir, on_results, fss.filter.Match)
sc.dir_reader = fss.dir_reader
if fss.dir_reader != nil {
sc.dir_reader = fss.dir_reader
}
fss.scanner = sc
fss.scanner.Start()
} else {