junegunn/fzf

change-preview-window resets change-preview

gulash007 opened this issue · 3 comments

Checklist

  • I have read through the manual page (man fzf)
  • I have searched through the existing issues
  • For bug reports, I have checked if the bug is reproducible in the latest version of fzf

Output of fzf --version

0.51.0 (brew)

OS

  • Linux
  • macOS
  • Windows
  • Etc.

Shell

  • bash
  • zsh
  • fish

Problem / Steps to reproduce

Hello, is it expected behavior for

fzf --bind 'start:change-preview(echo hello)' --bind 'enter:change-preview-window(30%)'

to make the preview completely disappear on pressing enter?

No, it looks like a bug. Let me look into it.

Should be fixed now. Thanks for the report.

Thank you so much!