Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Cannot tell why POSTDISPLAY doesn't work
- X-seq: zsh-users 23455
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- Subject: Re: Cannot tell why POSTDISPLAY doesn't work
- Date: Fri, 8 Jun 2018 17:23:24 +0200
- Cc: Zsh Users <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=5Fcc6ZnB8eUMC+8jhte2XTvNASPruQN/jiEQ2Ai/ldU=; b=lILjyLV5Aq+cB3OF8LoUPNsYzTTlCMK1OqGF7GNjFH5m1vg+R0UKoTgdmp1Num5LOM mZFWJ0nZW+qpuxwrFKEGGTSQLj++ZoJDzWvxWcqe+OMg5bdmRPGn7nW5G0Pu62sJCKC+ QpN02mUtz32xk3ZtRyt55sB56sTL4Lv75bR3d+al3hFNEQskNrXURRzkYCy2+XYeIXIM SdVtWlStOGpjK46Ignq8gogxJydjwXEmo39ilxMgX9JH74SBmoSuL+Y4WxMnny2yN7+R zTkIBk9UTnwL8qv6PBWAa1+rxM/X8LhObTxhMvVzl8ukwFsY0hg1OLewfrxtf2SdlgwX rpGw==
- In-reply-to: <20180608151052eucas1p14d1e9f07a274cf908b387a144da0d424~2N-XGwjGo2856728567eucas1p10@eucas1p1.samsung.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CAKc7PVAc5EhkULn_2w3Mmsxr6WU42PnUmuknPj8SSkhe0i+7-w@mail.gmail.com> <CGME20180608144015epcas2p41393ae62c0f43f5481da72c3fc190f42@epcas2p4.samsung.com> <CAKc7PVCPM6xK1YksSZVSZRw+MpeMwmPTtzyc3chOGU1H4uNGYg@mail.gmail.com> <20180608151052eucas1p14d1e9f07a274cf908b387a144da0d424~2N-XGwjGo2856728567eucas1p10@eucas1p1.samsung.com>
On 8 June 2018 at 17:10, Peter Stephenson <p.stephenson@xxxxxxxxxxx> wrote:
> "zle -M" *simply* prints a message. It doesn't interact with
> the normal editing buffer at all (which is the thing to which
> POSTDISPLAY is appended). So if you're seeing it it's because it's
> not overridden by the message.
>
> It's worth scanning the zshzle manual to see if you're doing something
> that might be better dealt with by Zle -R, which does a normal
> redisplay with an optional message --- this is commonly the case
> when within widgets.
I just realized it is zsh-users/zsh-autosuggestions is also using
POSTDISPLAY. When I enter weird command with "-" in the middle, then
zsh-autosuggestions doesn't have any string to suggest and doesn't
touch my POSTDISPLAY. Now how to dig out from this. I've tried zle -R
but it doesn't help.
--
Best regards,
Sebastian Gniazdowski
Messages sorted by:
Reverse Date,
Date,
Thread,
Author