diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 2000-01-27 20:12:20 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 2000-01-27 20:12:20 +0000 |
commit | f81f6999493ac6eb3592560046a0a7a6076f7a48 (patch) | |
tree | 661a74352e8ee36e6b08cdebb7310f75116ddb52 /Src/Zle/compresult.c | |
parent | b377d671103b8e16e337e76b9aeb92512d136782 (diff) | |
download | zsh-f81f6999493ac6eb3592560046a0a7a6076f7a48.tar.gz zsh-f81f6999493ac6eb3592560046a0a7a6076f7a48.tar.xz zsh-f81f6999493ac6eb3592560046a0a7a6076f7a48.zip |
zsh-workers/9442
Diffstat (limited to 'Src/Zle/compresult.c')
-rw-r--r-- | Src/Zle/compresult.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/Zle/compresult.c b/Src/Zle/compresult.c index 6794e45d3..fb0e478cc 100644 --- a/Src/Zle/compresult.c +++ b/Src/Zle/compresult.c @@ -719,7 +719,8 @@ do_single(Cmatch m) /* We are currently not in a menu-completion, * * so set the position variables. */ minfo.pos = wb; - minfo.we = (movetoend >= 2 || (movetoend == 1 && !menucmp)); + minfo.we = (movetoend >= 2 || (movetoend == 1 && !menucmp) || + (!movetoend && cs == we)); minfo.end = we; } /* If we are already in a menu-completion or if we have done a * |