Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Limiting height of completion menu
- X-seq: zsh-users 26242
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Vincent Bernat <bernat@xxxxxxxx>
- Subject: Re: Limiting height of completion menu
- Date: Sat, 19 Dec 2020 14:15:30 -0800
- Archived-at: <https://zsh.org/users/26242>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-users/2020-12/CAH%2Bw%3D7ZGhXHd0ua_AXBdOr1cJs4qrkd56JYiro3MaOErXLoHpg%40mail.gmail.com>
- Authentication-results: zsh.org; iprev=pass (mail-oi1-f175.google.com) smtp.remote-ip=209.85.167.175; dkim=pass header.d=brasslantern-com.20150623.gappssmtp.com header.s=20150623 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none
- Cc: Zsh Users <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ssaZc1IijuqMTLkhO+dtKnZDzfAijYAaz1bGSui12nA=; b=OE7ftz7PoN8BbVcxkAc0PDtRPrXG4/s7gOItJw2KHfBzetfATYKEhazvDOlNsE/J18 cXd3P6U9IZWrdEMnkHQlyqg+0nkepLWN2eWvgpp78HlFfCpDnFwUMWSpgFFfLL/w7Pbv QB9I2HuVg/5rrBKSPlQxMCeaUZy0qIkRAx0EvJ4DGSAwpEY/2+shOQsN37sXVdTIHa90 izpE47denQOQfqUnTVa37dT7UAbVnn1rBG59weoaWIEj79owsmPPMF5NNwj5B/2VzKSj vkVy9Gv6uq2BfZX3ucOvhDhTO8zpqs8ZC8OHQIGdaWJc5M5UVhgwsr9at/ZuCtnmk7If vuJQ==
- In-reply-to: <m3h7oha1i8.fsf@luffy.cx>
- 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> <m3h7oha1i8.fsf@luffy.cx>
- Sender: zsh-users-request@xxxxxxx
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