summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2024-06-17 17:00:27 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2024-06-17 17:00:49 +0900
commited12925f7dbceaedae58b2e202f1b1f443b04ab5 (patch)
treebf771d333fd887b914cbe6518f78107e1bd0f9d4 /man
parente0ddb97ab49b206ab350618438627b93b5c0c68f (diff)
downloadfzf-ed12925f7dbceaedae58b2e202f1b1f443b04ab5.tar.gz
--sync: Suppress initial render also when focus event is bound
Diffstat (limited to 'man')
-rw-r--r--man/man1/fzf.111
1 files changed, 9 insertions, 2 deletions
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"