mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-13 13:53:47 -05:00
Fix scan limit for --select-1 and --exit-0 options
This commit is contained in:
@@ -150,7 +150,7 @@ func (m *Matcher) scan(request MatchRequest, limit int) ([]*Item, bool) {
|
||||
if cancelled.Get() {
|
||||
return
|
||||
}
|
||||
countChan <- len(sliceMatches)
|
||||
countChan <- len(matches)
|
||||
}
|
||||
if !empty && m.sort {
|
||||
sort.Sort(ByRelevance(sliceMatches))
|
||||
|
||||
Reference in New Issue
Block a user