mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-09-28 15:01:21 +02:00
22565: Fix bug after failed menucompletion with accept-and-menu-complete?
This commit is contained in:
parent
663b9376ad
commit
f5bbc619bd
@ -1,5 +1,8 @@
|
||||
2006-07-30 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
||||
* 22565: Src/compcore.c: Fix bug with menu completion after failed
|
||||
accept-and-menu-complete, perhaps.
|
||||
|
||||
* 22562: Src/glob.c, Test/D07multibyte.ztst: make ${...#...} etc.
|
||||
understand multibyte characters.
|
||||
|
||||
|
@ -466,12 +466,12 @@ before_complete(UNUSED(Hookdef dummy), int *lst)
|
||||
|
||||
/* If we are doing a menu-completion... */
|
||||
|
||||
if (menucmp && *lst != COMP_LIST_EXPAND &&
|
||||
if (minfo.cur && menucmp && *lst != COMP_LIST_EXPAND &&
|
||||
(menucmp != 1 || !compwidget || compwidget == lastcompwidget)) {
|
||||
do_menucmp(*lst);
|
||||
return 1;
|
||||
}
|
||||
if (menucmp && validlist && *lst == COMP_LIST_COMPLETE) {
|
||||
if (minfo.cur && menucmp && validlist && *lst == COMP_LIST_COMPLETE) {
|
||||
showinglist = -2;
|
||||
onlyexpl = listdat.valid = 0;
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user