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

Re: Limiting height of completion menu



On Sat, Dec 19, 2020 at 2:12 PM Vincent Bernat <bernat@xxxxxxxx> wrote:
>
> It also resets $LINES in my case.

Yeah, I just noticed that.  Sometimes you have to save ZLE from itself.

half-lines () {
        print -n $(tput sc)
        LINES=$((LINES/2))
        print -n $(tput rc)
}




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