Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: I-Search improvement
- X-seq: zsh-workers 1633
- From: Zoltan Hidvegi <hzoli@xxxxxxxxxx>
- To: wayne@xxxxxxxxx (Wayne Davison)
- Subject: Re: I-Search improvement
- Date: Fri, 12 Jul 1996 18:51:16 +0200 (MET DST)
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <199607112051.NAA09738@xxxxxxxxxxxxxxx> from Wayne Davison at "Jul 11, 96 01:51:17 pm"
- Organization: Dept. of Comp. Sci., Eotvos University, Budapest, Hungary
- Phone: (36 1)2669833 ext: 2667, home phone: (36 1) 2752368
> at you. I am assuming that the string "keybuf" in zle_main.c always
> contains the last command sequence, which in my limited checking, looks to
> be true.
Yes it is true. This was not always true. It become true sometime when I
created describe-key-briefly.
> + ungetkeys(keybuf, strlen(keybuf));
That should be something like
> + ungetkeys(keybuf, (len = strlen(keybuf)) ? len : 1);
to handle the case when keybuf contains the null character which is
handled in a quited unique way here. Meta is not used so only the first
character of keybuf can be null. In a multi-character binding null's are
replaced by (char)0x80. I'll include this patch with this change.
Zoltan
Messages sorted by:
Reverse Date,
Date,
Thread,
Author