From 6de0a7ddc11dd9d4a2261e9642a99f3901e0ae27 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sat, 15 Jun 2024 10:46:28 +0900 Subject: [PATCH] --sync: Do not start TUI until initial filtering is complete --- src/core.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core.go b/src/core.go index 0f6fbf1..dfb4752 100644 --- a/src/core.go +++ b/src/core.go @@ -247,7 +247,7 @@ func Run(opts *Options) (int, error) { if heightUnknown { maxFit, padHeight = terminal.MaxFitAndPad() } - deferred := opts.Select1 || opts.Exit0 + deferred := opts.Select1 || opts.Exit0 || opts.Sync go terminal.Loop() if !deferred && !heightUnknown { // Start right away