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