Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: $terminfo for up and down arow
- X-seq: zsh-users 18301
- From: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- To: Ivan Brkanac <ibrkanac@xxxxxxxxx>, zsh-users@xxxxxxx
- Subject: Re: $terminfo for up and down arow
- Date: Fri, 10 Jan 2014 12:48:41 +0000
- In-reply-to: <CALRKU=GMswJjURDEtx7_jSAdnZ89vVWuFSRLeVAKxkK4=q010w@mail.gmail.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>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- Organization: Samsung Cambridge Solution Centre
- References: <CALRKU=Gv_VELAq9JGg3se_ne8Kn4+GdTS6SJD7FtN2mghPA6ag@mail.gmail.com> <874n5eyhrn.fsf@ft.bewatermyfriend.org> <87zjn6x17n.fsf@ft.bewatermyfriend.org> <CALRKU=GMswJjURDEtx7_jSAdnZ89vVWuFSRLeVAKxkK4=q010w@mail.gmail.com>
On Fri, 10 Jan 2014 13:38:40 +0100
Ivan Brkanac <ibrkanac@xxxxxxxxx> wrote:
> I have found the problem. It's an upstream bug, as I have suspected,
> but I have also found the way to get around it.
>
> I am defining three functions with the same function body to not
> repeat myself. Even though I have verified that the functions have
> been defined properly, they exist, my zle-line-init and
> zle-line-finish are not being called. Something must have changed in
> recent Zsh versions that affects this.
>
> When I split that code into three distinct function definitions, it works.
Please could you supply the code you're using to set this up? It's not
clear whether you're using
zle-line-init zle-line-finish() { ... }
zle -N zle-line-init
zle -N zle-line-finish
or
zle-line-base-function() { ... }
zle -N zle-line-init zle-line-base-function
zle -N zle-line-end zle-line-base-function
both of which would have the effect you say.
Thanks
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author