mirror of
https://github.com/junegunn/fzf.git
synced 2026-03-18 04:22:40 +08:00
Do not restart matcher during reload-sync with the intermediate list
This commit is contained in:
@@ -469,7 +469,9 @@ func Run(opts *Options) (int, error) {
|
||||
if heightUnknown && !deferred {
|
||||
determine(!reading)
|
||||
}
|
||||
matcher.Reset(snapshot, input(), false, !reading, sort, snapshotRevision)
|
||||
if !useSnapshot || evt == EvtReadFin {
|
||||
matcher.Reset(snapshot, input(), false, !reading, sort, snapshotRevision)
|
||||
}
|
||||
|
||||
case EvtSearchNew:
|
||||
var command *commandSpec
|
||||
|
||||
Reference in New Issue
Block a user