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

Support negative --height #3487

Closed
7 of 10 tasks
timkgh opened this issue Oct 19, 2023 · 1 comment
Closed
7 of 10 tasks

Support negative --height #3487

timkgh opened this issue Oct 19, 2023 · 1 comment
Assignees
Labels

Comments

@timkgh
Copy link

timkgh commented Oct 19, 2023

  • I have read through the manual page (man fzf)
  • I have the latest version of fzf
  • I have searched through the existing issues

Info

  • OS
    • Linux
    • Mac OS X
    • Windows
    • Etc.
  • Shell
    • bash
    • zsh
    • fish

Problem / Steps to reproduce

Please support negative height which would be interpreted as the current term lines minus the value. E.g. if I want to preserve 2 lines (the shell prompt), I'd like to be able to do specify --height=-2 instead of --height=$(($(tput lines) - 2))
The advantage would be support for resizing the terminal, rather than ending up with a fixed height, it would be dynamic, relative to the terminal height after resize.

@junegunn junegunn self-assigned this Dec 21, 2023
@timkgh
Copy link
Author

timkgh commented Dec 21, 2023

Thank you ❤️

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

No branches or pull requests

2 participants