diff options
Diffstat (limited to 'man')
-rw-r--r-- | man/man1/fzf.1 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/man/man1/fzf.1 b/man/man1/fzf.1 index 70a90649..e9de4fe1 100644 --- a/man/man1/fzf.1 +++ b/man/man1/fzf.1 @@ -759,6 +759,21 @@ Read input delimited by ASCII NUL characters instead of newline characters .B "--print0" Print output delimited by ASCII NUL characters instead of newline characters .TP +.B "--no-clear" +Do not clear finder interface on exit. If fzf was started in full screen mode, +it will not switch back to the original screen, so you'll have to manually run +\fBtput rmcup\fR to return. This option can be used to avoid flickering of the +screen when your application needs to start fzf multiple times in order. (Note +that in most cases, it is preferable to use \fBreload\fR action instead.) + +e.g. + \fBfoo=$(seq 100 | fzf --no-clear) || ( + # Need to manually switch back to the main screen when cancelled + tput rmcup + exit 1 + ) && seq "$foo" 100 | fzf + +.TP .B "--sync" Synchronous search for multi-staged filtering. If specified, fzf will launch ncurses finder only after the input stream is complete. |