Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Limiting height of completion menu
- X-seq: zsh-users 26241
- From: Vincent Bernat <bernat@xxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: Limiting height of completion menu
- Date: Sat, 19 Dec 2020 23:12:47 +0100
- Archived-at: <https://zsh.org/users/26241>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-users/2020-12/m3h7oha1i8.fsf%40luffy.cx>
- Authentication-results: zsh.org; iprev=pass (out1-smtp.messagingengine.com) smtp.remote-ip=66.111.4.25; dkim=pass header.d=luffy.cx header.s=fm2 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm1 header.a=rsa-sha256; dmarc=pass header.from=luffy.cx; arc=none
- Cc: Zsh Users <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=luffy.cx; h=from :to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-type:content-transfer-encoding; s=fm2; bh= k6A0ESpRHk3ve/Os1ACt1C/Y0G6JFhcv6DHoQaQvp10=; b=PlK9fXk+2Au+h0EY 75xAtj1V/G/dNZRYTIwaFdkBik3EqHsCas3T8fzaaGecML9SjY/tT6vkoqZS6Dwx Sne0FLi0BYUMx3TIwAjwanfwTWIdpCrCnOflLfSLvQmnHpNkO3ayHhyL6O8Nau19 bz0xH+D3KqEKd/50hQRdCJ4p4PyiQ+1zCdoiCbpmxpNOL8vIR5Le8GQAzCO7RcH3 tJpSzxXIMLlGqp/YH16+7/ytYO8Y9I9/tA/uAjKHFS71OwbWiNgjDSgm1dKusPQK tIbbr8Jzu1xRqAAfLjPr9UfSAdjQf5Qg8zSXVT0q/ayuhNmHospOPNpu7HaD8kNI ts4y4Q==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=k6A0ESpRHk3ve/Os1ACt1C/Y0G6JFhcv6DHoQaQvp 10=; b=X5u+eHFqeEg7bbIn8gH1P1MkDRUSDsu5Aevn/H3w3ZS6YydzFSuaZF8qA GvkkQAwPH32VdnMP4b0NPLT17YHGai8TdSpIT8mc9KCmIpc1wJNvg5jnkGC3Tn12 M/KQbY61q1sSzmHJ2Gvi8ht5yPbS/aV0nn3KELcdo/ZHmH1bBSyUgMuHEHa93OLY pAg19KZ43iqj7rXqDv4LCvb7SWYlTpm+fB/i+Bhm7HjgFWk/mbJ9MVwJkQ/V1r3U vENS+MPccxLAZUkg3j1X1IAqJMQIpyZAqGnytDJr4Kbw5BsEVTgZ5kd/whEUcdhB giUHCbC0Q78BsDhDpe4cZWBnZCimg==
- In-reply-to: <CAH+w=7aT5+Tc8szJHu2mwAyEOvO0sQ2F3T0N3UMTmtpghU9UOg@mail.gmail.com> (Bart Schaefer's message of "Sat, 19 Dec 2020 14:03:46 -0800")
- List-archive: <http://www.zsh.org/sympa/arc/zsh-users>
- List-help: <mailto:sympa@zsh.org?subject=help>
- List-id: <zsh-users.zsh.org>
- List-owner: <mailto:zsh-users-request@zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-subscribe: <mailto:sympa@zsh.org?subject=subscribe%20zsh-users>
- List-unsubscribe: <mailto:sympa@zsh.org?subject=unsubscribe%20zsh-users>
- References: <m3tushaaq2.fsf@luffy.cx> <CAH+w=7amMkiuWYHdmCemo5sH+YAADF_drF=iHJ7Wpypv_zGwoQ@mail.gmail.com> <m3lfdta330.fsf@luffy.cx> <CAH+w=7aT5+Tc8szJHu2mwAyEOvO0sQ2F3T0N3UMTmtpghU9UOg@mail.gmail.com>
- Sender: zsh-users-request@xxxxxxx
❦ 19 décembre 2020 14:03 -08, Bart Schaefer:
>> Unfortunately, it's also garbled when there is a non-ambiguous match
>
> Try this change:
>
> half-lines() {
> LINES=$((LINES/2))
> tput cr
> }
>
> I have no idea why that's needed.
It also resets $LINES in my case.
--
10.0 times 0.1 is hardly ever 1.0.
- The Elements of Programming Style (Kernighan & Plauger)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author