From 8dbb3b352d5241551517c1e70a554d040e7ac84a Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sat, 14 Mar 2026 17:19:00 +0900 Subject: [PATCH] Do not restart matcher during reload-sync with the intermediate list --- src/core.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/core.go b/src/core.go index 057d494d..dfb12af7 100644 --- a/src/core.go +++ b/src/core.go @@ -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