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

Re: Another <ffffffff>



On Mon, 4 Apr 2016 13:58:26 +0100
Peter Stephenson <p.stephenson@xxxxxxxxxxx> wrote:
> --- a/Src/Zle/zle_keymap.c
> +++ b/Src/Zle/zle_keymap.c
> @@ -1615,8 +1615,7 @@ getkeymapcmd(Keymap km, Thingy *funcp, char **strp)
>      else
>  	lastchar = lastc;
>      if(lastlen != keybuflen) {
> -	unmetafy(keybuf + lastlen, &keybuflen);
> -	ungetbytes(keybuf+lastlen, keybuflen);
> +	ungetbytes_unmeta(keybuf+lastlen, keybuflen);
>  	if(vichgflag)
>  	    vichgbufptr -= keybuflen;
>  	keybuf[lastlen] = 0;

Sorry, another problem --- this one is wrong because we actually do need
the keybuf unmetafied subsequently.  So this stays as it was.  This was
causing test X02zlevi to fail.

pws



Messages sorted by: Reverse Date, Date, Thread, Author