Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: $terminfo for up and down arow



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