1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-02 22:11:54 +02:00

zsh-workers/9732

This commit is contained in:
Tanaka Akira 2000-02-15 09:13:38 +00:00
parent e6cc1ece7f
commit 6c3be64e8d

View file

@ -780,7 +780,7 @@ complistmatches(Hookdef dummy, Chdata dat)
if (inselect)
clearflag = 0;
if (asklist() || !clearflag) {
if (asklist()) {
amatches = oamatches;
return (noselect = 1);
}
@ -800,7 +800,8 @@ complistmatches(Hookdef dummy, Chdata dat)
last_cap = (char *) zhalloc(max_caplen + 1);
*last_cap = '\0';
if (!printlist(1, clprintm, (mselect >= 0)) || listdat.nlines >= lines)
if (!printlist(1, clprintm, (mselect >= 0)) || listdat.nlines >= lines ||
!clearflag)
noselect = 1;
amatches = oamatches;