Skip to content

Commit

Permalink
--sync: Do not start TUI until initial filtering is complete
Browse files Browse the repository at this point in the history
  • Loading branch information
junegunn committed Jun 15, 2024
1 parent 79196c0 commit 6de0a7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6de0a7d

Please sign in to comment.