* PATCH: fix for complist
@ 1999-06-23 15:25 Sven Wischnowsky
0 siblings, 0 replies; only message in thread
From: Sven Wischnowsky @ 1999-06-23 15:25 UTC (permalink / raw)
To: zsh-workers
You may have noticed that menu-selection doesn't work when there are
matches that are not shown. I overlooked one place where we have to
switch off selection in such a case.
It's a pity, isn't it? The alternative would be to allow
menu-selection but then you wouldn't be able to get at the hidden
matches (which would clash with e.g. _correct when it inserts the
original string into the line).
Bye
Sven
diff -u os/Zle/complist.c Src/Zle/complist.c
--- os/Zle/complist.c Wed Jun 23 17:10:07 1999
+++ Src/Zle/complist.c Wed Jun 23 17:20:54 1999
@@ -349,7 +349,8 @@
if ((l = niceztrlen(m->str)) > longest)
longest = l;
nlist++;
- }
+ } else
+ noselect = 1;
}
}
if ((e = g->expls)) {
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-06-23 15:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-06-23 15:25 PATCH: fix for complist Sven Wischnowsky
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).