Closed noahmayr closed 4 months ago
Both reload and preview actions run asynchronously, so there is no guarantee that they finish in the specified order.
To give a better example:
echo alice | fzf --preview 'echo Hello {}' --bind 'space:reload(sleep 1; echo bob)+preview(echo Hi {})'
I'm not sure what you're trying to achieve with the actions, but it looks like you need a different strategy.
Checklist
man fzf
)Output of
fzf --version
0.49.0 (brew)
OS
Shell
Problem / Steps to reproduce
Reproduction:
ctrl-p
to switch to a temporary preview showing "Hello World"Expected: The list is reloaded and the preview shows "Hello World" and goes back to the configured preview when navigating through the list
Actual: The list is reloaded, the preview quickly flashes "Hello World" before showing the preview configured by
--preview