Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Limiting height of completion menu
- X-seq: zsh-users 26248
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, Vincent Bernat <bernat@xxxxxxxx>, Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: Limiting height of completion menu
- Date: Sun, 20 Dec 2020 13:55:45 -0800
- Archived-at: <https://zsh.org/users/26248>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-users/2020-12/CAH%2Bw%3D7bbCm%2BgG%2BunfnVtMonhdLSfbEQqjkr%3DsSRtXBzgqYq6vw%40mail.gmail.com>
- Authentication-results: zsh.org; iprev=pass (mail-ot1-f47.google.com) smtp.remote-ip=209.85.210.47; dkim=pass header.d=brasslantern-com.20150623.gappssmtp.com header.s=20150623 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none
- 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; bh=ltfHUiXLxwYpo567fNBPzvJvgRbJZIwdkMqCPf5EQoU=; b=n8EJFNZZxYZOF3BKtjp3sUdumPIZHWtNN5um4LXoghMYXEktDoN4AqGYyhh7AXcE28 Z3NKT62SHliQg6KxpaJ/Vs1D67QZpPt/zHtzJE3WyVy/Yka8UPBR2fMP5lhCYjQLSQKs DVMuAYbVByVfGLH9LZZHZ5fMx0GtTXnEyXi79DH0tqzD5/WuA8fOZ/Ro7Au/nKC1zezq 2fQDr60RXpnM+2BYm8h2rViqra0TC6ZHvZavAo7ZQXbbT40EL+LRv5pLDA76+fe4htMB NMQzoQln5qol7CIzDHz8Dv/olwtMLRzBoX4KVeL5eDNOUUHjdIOZEDo4Sm3UuosL/6h7 DwKw==
- In-reply-to: <20201220144154.mwftaxagutsaystn@chazelas.org>
- 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> <CAH+w=7ZGhXHd0ua_AXBdOr1cJs4qrkd56JYiro3MaOErXLoHpg@mail.gmail.com> <20201220144154.mwftaxagutsaystn@chazelas.org>
- Sender: zsh-users-request@xxxxxxx
On Sun, Dec 20, 2020 at 6:41 AM Stephane Chazelas <stephane@xxxxxxxxxxxx> wrote:
>
> 2020-12-19 14:15:30 -0800, Bart Schaefer:
> > half-lines () {
> > print -n $(tput sc)
>
> Or if tput is to cover the cases where zsh/terminfo is not
> included:
>
> tput sc
That doesn't actually work as expected; for some reason running "tput"
directly from the current shell causes a zle reset and the bug
returns, probably due to some sort of handling of the forked job.
Hiding it in a $(...) subshell prevents that (but the whole
formulation still has other problems).
Messages sorted by:
Reverse Date,
Date,
Thread,
Author