m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-16 15:23:48 -05:00

Inverse-only matches should not reorder the remaining results

Fix #1458
This commit is contained in:
Junegunn Choi
2018-12-19 23:05:29 +09:00
parent 63c42b14f2
commit 5624a89231
4 changed files with 27 additions and 2 deletions

View File

@@ -230,5 +230,5 @@ func (m *Matcher) Reset(chunks []*Chunk, patternRunes []rune, cancel bool, final
} else {
event = reqRetry
}
m.reqBox.Set(event, MatchRequest{chunks, pattern, final, sort})
m.reqBox.Set(event, MatchRequest{chunks, pattern, final, sort && pattern.sortable})
}