From ed12925f7dbceaedae58b2e202f1b1f443b04ab5 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Mon, 17 Jun 2024 17:00:27 +0900 Subject: --sync: Suppress initial render also when focus event is bound --- man/man1/fzf.1 | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'man') diff --git a/man/man1/fzf.1 b/man/man1/fzf.1 index 0a541ca6..3327e48c 100644 --- a/man/man1/fzf.1 +++ b/man/man1/fzf.1 @@ -889,10 +889,17 @@ e.g. .TP .B "--sync" Synchronous search for multi-staged filtering. If specified, fzf will launch -the finder only after the input stream is complete. +the finder only after the input stream is complete and the initial filtering +and the associated actions (bound to any of \fBstart\fR, \fBload\fR, +\fBresult\fR, or \fBfocus\fR) are complete. .RS -e.g. \fBfzf --multi | fzf --sync\fR +e.g. \fB# Avoid rendering both fzf instances at the same time + fzf --multi | fzf --sync + + # fzf will not render intermediate states + (sleep 1; seq 1000000; sleep 1) | + fzf --sync --query 5 --listen --bind start:up,load:up,result:up,focus:change-header:Ready\fR .RE .TP .B "--with-shell=STR" -- cgit v1.2.3