Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Limiting height of completion menu



 ❦ 19 décembre 2020 15:26 -08, Bart Schaefer:

>> It doesn't seem to fix the garbled non-select completion.
>
> Fooey.
>
>> This simpler solution seems to work
>
> Yes, obviously I was trying to avoid having it go outside completion scope.
>
> I think having $((LINES/2)) both in line-init and in the zstyle is
> going to result in "menu yes=" with a value of your actual lines
> divided by four, but maybe that's what you intended.

Oh, right! I can just use yes=long.
-- 
Don't use conditional branches as a substitute for a logical expression.
            - The Elements of Programming Style (Kernighan & Plauger)




Messages sorted by: Reverse Date, Date, Thread, Author