kelleyma49 / PSFzf

A PowerShell wrapper around the fuzzy finder fzf
MIT License
802 stars 37 forks source link

Continuous tab completion does not work #142

Closed pitkali closed 2 years ago

pitkali commented 2 years ago

Steps

  1. Enable Tab completion using PSFzf.
  2. Type cd and use Tab to start tab completion.
  3. Try to confirm one level of completion with directory separator.

    Expected

    The directory selected with separator is added to the path and completion continues inside it.

    Actual

    The directory separator replaces the entire part of the input being completed.

    Notes

    This happens on Powershell 7. It is a regression from #85. The problem is that after 4a60f0e continuous completion is decided upon the second item in the array, but fzf is supposed to return expected keys, if any, before the completion result. I had to patch it with 5df5fb3 to get it to work again reliably but I don't know at this point if fzf suffers from similar ordering issue with regard to this under Powershell 5.

DanSM-5 commented 2 years ago

I'm having the same issue with PowerShell 7.3