diff options
| author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-31 06:31:22 +0000 |
|---|---|---|
| committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-31 06:31:22 +0000 |
| commit | d5b6d1f40c7dcbc1510e4335924889b55fb648db (patch) | |
| tree | bed7a4e320fbaa9216195d0b9d46b63baffddec3 | |
| parent | fix for ignore-line style (11679) (diff) | |
| download | zsh-d5b6d1f40c7dcbc1510e4335924889b55fb648db.tar zsh-d5b6d1f40c7dcbc1510e4335924889b55fb648db.tar.gz zsh-d5b6d1f40c7dcbc1510e4335924889b55fb648db.tar.bz2 zsh-d5b6d1f40c7dcbc1510e4335924889b55fb648db.tar.lz zsh-d5b6d1f40c7dcbc1510e4335924889b55fb648db.tar.xz zsh-d5b6d1f40c7dcbc1510e4335924889b55fb648db.tar.zst zsh-d5b6d1f40c7dcbc1510e4335924889b55fb648db.zip | |
move to last cursor after not asking a second time if list should be shown (11682)
| -rw-r--r-- | ChangeLog | 3 | ||||
| -rw-r--r-- | Src/Zle/compresult.c | 4 |
2 files changed, 6 insertions, 1 deletions
@@ -1,5 +1,8 @@ 2000-05-31 Sven Wischnowsky <wischnow@zsh.org> + * 11682: Src/Zle/compresult.c: move to last cursor after not + asking a second time if list should be shown + * 11679: Src/Zle/compcore.c: fix for ignore-line style * 11678: Completion/Base/_arguments: avoid reporting the same diff --git a/Src/Zle/compresult.c b/Src/Zle/compresult.c index c55b65b0a..4ffd4d62a 100644 --- a/Src/Zle/compresult.c +++ b/Src/Zle/compresult.c @@ -1661,7 +1661,9 @@ asklist(void) putc('\n', shout); settyinfo(&shttyinfo); minfo.asked = 1; - } + } else if (minfo.asked == 2) + tcmultout(TCUP, TCMULTUP, nlnct); + return (minfo.asked ? minfo.asked - 1 : 0); } |
