Skip to content
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

Fix $LINES and $COLUMNS in fzf previews #8

Open
MaienM opened this issue Mar 19, 2019 · 1 comment
Open

Fix $LINES and $COLUMNS in fzf previews #8

MaienM opened this issue Mar 19, 2019 · 1 comment

Comments

@MaienM
Copy link
Owner

MaienM commented Mar 19, 2019

The $LINES and $COLUMNS environment variables are not set correctly in FZF previews. This is a known issue, and it is being worked on. Once this is resolves, I should make sure that the previews are modified in such a way that these are applied correctly.

@MaienM
Copy link
Owner Author

MaienM commented Aug 26, 2019

The cause of this is that FZF runs the previews in $SHELL, and zsh doesn't use $LINES and $COLUMNS from the environment. As a workaround, FZF now provides $FZF_PREVIEW_LINES and $FZF_PREVIEW_COLUMNS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant