diff options
Diffstat (limited to 'Src/Zle/complist.c')
-rw-r--r-- | Src/Zle/complist.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c index d0dd90bec..045517a6d 100644 --- a/Src/Zle/complist.c +++ b/Src/Zle/complist.c @@ -1589,6 +1589,12 @@ domenuselect(Hookdef dummy, Chdata dat) fdat = dat; selectlocalmap(mskeymap); noselect = 0; + while ((menuacc && + !hasbrpsfx(*(minfo.cur), minfo.prebr, minfo.postbr)) || + (((*minfo.cur)->flags & (CMF_NOLIST | CMF_MULT)) && + (!(*minfo.cur)->str || !*(*minfo.cur)->str))) + do_menucmp(0); + mselect = (*(minfo.cur))->gnum; mline = 0; mlines = 999999; |