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

make max_lines accept percentage (of window height) #275

Open
j-xella opened this issue May 12, 2023 · 0 comments · May be fixed by #412
Open

make max_lines accept percentage (of window height) #275

j-xella opened this issue May 12, 2023 · 0 comments · May be fixed by #412
Labels
accepted Feature request accepted. PR welcome. enhancement New feature or request

Comments

@j-xella
Copy link

j-xella commented May 12, 2023

For larger windows, dedicating more lines for context may be OK, less so for smaller windows.

It would be nice if max_lines parameter could accept something like "10%" - meaning 10% of the current window height.

Also, max_lines could accept function value, so that the user could come up with even more sophisticated logic.

@lewis6991 lewis6991 added the enhancement New feature or request label May 12, 2023
@lewis6991 lewis6991 changed the title Enhancement: make max_lines accept percentage (of window height) make max_lines accept percentage (of window height) Aug 27, 2023
@lewis6991 lewis6991 added the accepted Feature request accepted. PR welcome. label Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted Feature request accepted. PR welcome. enhancement New feature or request
Projects
None yet
2 participants