diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Src/Zle/complist.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index d0e2b256d..574e5fa73 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-06-24 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> + + * 35550: Src/Zle/complist.c: fix backspace in interactive + mode of menu-select + 2015-06-24 Peter Stephenson <p.stephenson@samsung.com> * 35514: Han Pingtian: Src/pattern.c: [[:foo:]] diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c index 0f73181f3..ccee9a724 100644 --- a/Src/Zle/complist.c +++ b/Src/Zle/complist.c @@ -2655,7 +2655,7 @@ domenuselect(Hookdef dummy, Chdata dat) s->nbrbeg = nbrbeg; s->nbrend = nbrend; s->nmatches = nmatches; - s->origline = origline; + s->origline = dupstring(origline); s->origcs = origcs; s->origll = origll; s->status = dupstring(status); @@ -2786,7 +2786,7 @@ domenuselect(Hookdef dummy, Chdata dat) s->nbrbeg = nbrbeg; s->nbrend = nbrend; s->nmatches = nmatches; - s->origline = origline; + s->origline = dupstring(origline); s->origcs = origcs; s->origll = origll; s->status = dupstring(status); |