Open
Description
- I have read through the manual page (
man fzf
) - I have the latest version of fzf
- I have searched through the existing issues
Info
- OS
- Linux
- Mac OS X
- Windows
- Etc.
- Shell
- bash
- zsh
- fish
Additional details
$ bash --version
GNU bash, version 4.4.23(1)-release (x86_64-pc-msys)
$ git --version
git version 2.37.0.windows.1
$ fzf --version
0.38.0 (352ea07)
$ which fzf
/c/Users/danilov/AppData/Local/Microsoft/WinGet/Packages/junegunn.fzf_Microsoft.Winget.Source_8wekyb3d8bbwe/fzf
Problem
Note: the problem is specific to Git Bash (MinGW) only.
FZF closes after arrow keys down, piping forward an empty result.
Steps to reproduce
- Open Git Bash (MinGW).
- Enter:
git log --oneline | fzf | echo $(cat)
- Wait for all entries of
git log --oneline
being loaded. - Press arrow key up/down to select entry.
- Notice that FZF has being interrupted with exit code 0 and empty stdout.
Expected behavior
Being able to navigate through entries with arrow keys.
Actual behavior
FZF shuts down on arrow keys down.
I hope I explained the problem properly!