Skip to content

make max_lines accept percentage (of window height) #275

Open
@j-xella

Description

@j-xella

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedFeature request accepted. PR welcome.enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions