junegunn / fzf

:cherry_blossom: A command-line fuzzy finder
https://junegunn.github.io/fzf/
MIT License
62.32k stars 2.35k forks source link

change-preview-window resets change-preview #3770

Closed gulash007 closed 2 months ago

gulash007 commented 2 months ago

Checklist

Output of fzf --version

0.51.0 (brew)

OS

Shell

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?

junegunn commented 2 months ago

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

junegunn commented 2 months ago

Should be fixed now. Thanks for the report.

gulash007 commented 2 months ago

Thank you so much!