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:
parent
e6cc1ece7f
commit
6c3be64e8d
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue