diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | Src/Zle/complist.c | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index fb81ebab7..f6e939ab5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-04-24 Barton E. Schaefer <schaefer@zsh.org> + + * Jun T.: 29031: Src/Zle/complist.c: increment global minfo + state when inserting characters on the line during interactive + menu selection. + 2011-04-21 Barton E. Schaefer <schaefer@zsh.org> * 29025: Test/A01grammar.ztst: in select test, assert LINES=3 @@ -14502,5 +14508,5 @@ ***************************************************** * This is used by the shell to define $ZSH_PATCHLEVEL -* $Revision: 1.5259 $ +* $Revision: 1.5260 $ ***************************************************** diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c index f6e253afd..c253daa4c 100644 --- a/Src/Zle/complist.c +++ b/Src/Zle/complist.c @@ -2699,6 +2699,8 @@ domenuselect(Hookdef dummy, Chdata dat) else selfinsertunmeta(zlenoargs); metafy_line(); + minfo.len++; + minfo.end++; saveline = (char *) zhalloc(zlemetall); memcpy(saveline, zlemetaline, zlemetall); |