- [x] I have read through the manual page (`man fzf`) - [x] I have the latest version of fzf - [x] I have searched through the existing issues ## Info - OS - [x] Linux - [ ] Mac OS X - [ ] Windows - [ ] Etc. - Shell - [x] bash - [ ] zsh - [ ] fish ## Problem / Steps to reproduce I have a script that is using "reload()", which ultimately changes the line under the cursor. However, the preview window doesn't change. Here is a script that makes it possible to reproduce the issue (in bash) : ``` fzf < <(printf "1\n2\n3\n") --bind "ctrl-t:reload(printf '4')" --preview 'echo {}' --preview-window 'nohidden' ``` When I hit ctrl-t, the content of the main fzf view is updated to be only "4", but the preview still uses the item selected before the reload.
Activity
edi9999 commentedon Oct 22, 2021
I think this might be a regression, I see I'm using the latest version (0.27.3).
I think this was working in the past, maybe the bug was introduced in some recent release.
junegunn commentedon Oct 22, 2021
You're right. This was caused by 0f02fc0.
Reload should update preview window