-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] alternate preview layout maintains separate hidden state #4100
Comments
Closed
6 tasks
ibhagwan
added a commit
to ibhagwan/fzf-lua
that referenced
this issue
Nov 18, 2024
Use alternative preview layout instead of using a "transform", simpler, and we don't need to take into account the hidden state of the preview as well as decrease the minimum fzf version for native fzf flex layout to 0.31 (instead of 0.46). Has known issue upstream where if the layout changes upon resize the hidden state of the preview is lost: junegunn/fzf#4100 Closes #1527
ibhagwan
added a commit
to ibhagwan/fzf-lua
that referenced
this issue
Nov 18, 2024
Use alternative preview layout instead of using a "transform", simpler, and we don't need to take into account the hidden state of the preview as well as decrease the minimum fzf version for native fzf flex layout to 0.31 (instead of 0.46). Has known issue upstream where if the layout changes upon resize the hidden state of the preview is lost: junegunn/fzf#4100 Closes #1527
ibhagwan
added a commit
to ibhagwan/fzf-lua
that referenced
this issue
Nov 18, 2024
Use alternative preview layout instead of using a "transform", simpler, and we don't need to take into account the hidden state of the preview as well as decrease the minimum fzf version for native fzf flex layout to 0.31 (instead of 0.46). Has known issue upstream where if the layout changes upon resize the hidden state of the preview is lost: junegunn/fzf#4100 Closes #1527
ibhagwan
added a commit
to ibhagwan/fzf-lua
that referenced
this issue
Nov 18, 2024
Use alternative preview layout instead of using a "transform", simpler, and we don't need to take into account the hidden state of the preview as well as decrease the minimum fzf version for native fzf flex layout to 0.31 (instead of 0.46). Has known issue upstream where if the layout changes upon resize the hidden state of the preview is lost: junegunn/fzf#4100 Closes #1527
ibhagwan
added a commit
to ibhagwan/fzf-lua
that referenced
this issue
Nov 18, 2024
Use alternative preview layout instead of using a "transform", simpler, and we don't need to take into account the hidden state of the preview as well as decrease the minimum fzf version for native fzf flex layout to 0.31 (instead of 0.46). Has known issue upstream where if the layout changes upon resize the hidden state of the preview is lost: junegunn/fzf#4100 Closes #1527
ibhagwan
added a commit
to ibhagwan/fzf-lua
that referenced
this issue
Nov 19, 2024
Use alternative preview layout instead of using a "transform", simpler, and we don't need to take into account the hidden state of the preview as well as decrease the minimum fzf version for native fzf flex layout to 0.31 (instead of 0.46). Has known issue upstream where if the layout changes upon resize the hidden state of the preview is lost: junegunn/fzf#4100 Closes #1527
ibhagwan
added a commit
to ibhagwan/fzf-lua
that referenced
this issue
Nov 19, 2024
Use alternative preview layout instead of using a "transform", simpler, and we don't need to take into account the hidden state of the preview as well as decrease the minimum fzf version for native fzf flex layout to 0.31 (instead of 0.46). Has known issue upstream where if the layout changes upon resize the hidden state of the preview is lost: junegunn/fzf#4100 Closes #1527
ibhagwan
added a commit
to ibhagwan/fzf-lua
that referenced
this issue
Nov 19, 2024
Use alternative preview layout instead of using a "transform", simpler, and we don't need to take into account the hidden state of the preview as well as decrease the minimum fzf version for native fzf flex layout to 0.31 (instead of 0.46). Has known issue upstream where if the layout changes upon resize the hidden state of the preview is lost: junegunn/fzf#4100 Closes #1527
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Checklist
man fzf
)Output of
fzf --version
0.56.2
OS
Shell
Problem / Steps to reproduce
Consider the below command:
Run the command in any terminal width and use a keybind to hide the preview:
down
extend the terminal width until preview is shown on the rightright
decrease the terminal width until preview is shown at the bottomIt's very easy to do if you have a tmux split into two panes and then use
<tmux-prefix>-z
to "zoom" the pane which extends it to full terminal width.It seems that the hidden state is saved per layout (horizontal/veritcal), when extending the terminal width the preview will lose its hidden state and will be un-hidden, when decreasing the terminal width again the preview will be hidden again.
The text was updated successfully, but these errors were encountered: