Skip to content

MinGW: FZF is being interrupted on arrow keys down #3346

Open
@Danand

Description

@Danand
  • 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

  1. Open Git Bash (MinGW).
  2. Enter:
    git log --oneline | fzf | echo $(cat)
  3. Wait for all entries of git log --oneline being loaded.
  4. Press arrow key up/down to select entry.
  5. 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!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions