pending STDIN and --height=~80% delay first paint indefinitely
Author: KorkmanCreated Sep 8, 2026Updated Sep 11, 2026
In a nutshell, this example fails in the sense that the user won't see anything on a 30 line terminal:
tail -n10 -f /etc/services | fzf --height=~80%
My guess is fzf waits indefinitely for STDIN to either close or exceed 80% of $LINES.
The cleanest solution would be to show the interface with the received lines, then increase size up to 80% when more arrives. Alternatively timeout and assume STDIN will deliver 80% of $LINES and adjust height for that?
Or just add this to the limitations of adaptive height in the --help text.
Source: junegunn/fzf