Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: menu-select interactive mode
Another problem reported by Bart Shaefer:
At 07:48 -0700 11/04/10, Bart Schaefer wrote:
>There are still some bugs in the interactive mode.
> ..... (snip)
>Then press ENTER to accept the one-and-only match:
>
>torch% ls config.log l
>
>Finally type ENTER again:
>
>torch% ls config.logl
>ls: config.logl: No such file or directory
The following patch *seenms* to solve this,
but I'm not sure what I'm doing.
minfo.end should also be updated?
Or maybe I'm doing complete nonsense...
Index: Src/Zle/complist.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Zle/complist.c,v
retrieving revision 1.123
diff -u -r1.123 complist.c
--- Src/Zle/complist.c 31 Aug 2010 18:09:16 -0000 1.123
+++ Src/Zle/complist.c 24 Apr 2011 11:28:54 -0000
@@ -2699,6 +2699,7 @@
else
selfinsertunmeta(zlenoargs);
metafy_line();
+ minfo.len++;
saveline = (char *) zhalloc(zlemetall);
memcpy(saveline, zlemetaline, zlemetall);
Messages sorted by:
Reverse Date,
Date,
Thread,
Author