Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Is it possible to limit the height or rows of menus?
On 2020-04-05 15:38,
Dave Woodfall <dave@xxxxxxx> put forth the proposition:
> zsh 5.6.2
>
> When using menu select with a command that has many options, all rows
> in the terminal may be filled, and the context is lost (i.e. any
> previous commands and their output disappear past the top of the
> terminal, so needing to scroll back up to see them.)
>
> What I would like to do is limit the number of rows.
>
> I tried doing something like:
>
> LINES=10 grep -<tab>
And typically, after asking a question we find the solution
ourselves. I defined a custom function that contains:
LINES=15 zle complete-word
It seems to work so far.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author