Closed Konfekt closed 4 months ago
The approach looks quite similar to what we've been doing in fzf-tmux, and the script was recently rewritten in native Go code. I'll see if we can do the same for this. If that's possible,
Can you test 573df524fed1c493ce7d8ea893f06ab90f2ca18a? It seems to work for me fine. Because it's using named pipes, it doesn't block even when the source command takes a while to complete.
./fzf
ls | ./fzf
(sleep 5; ls) | ./fzf
Attaching the binary built from the source.
I can confirm that this release works fine in Git Bash Term under Windows 10 without the bash script work around. (It works also fine with the Bash work around. Removing the new exe, the pipe is broken again.)
Cool, I'll close this then and include the patch in the next release.
Script provided by @knutze
Addresses https://github.com/junegunn/fzf/issues/2798