--sync: Do not start TUI until initial filtering is complete

This commit is contained in:
Junegunn Choi committed 2024-06-15 10:46:28 +09:00
1 parent 79196c025d
commit 6de0a7ddc1
1 file changed
+1 -1
+1 -1
View File
@@ -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