1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-11 20:31:11 +01:00

move to last cursor after not asking a second time if list should be shown (11682)

This commit is contained in:
Sven Wischnowsky 2000-05-31 06:31:22 +00:00
parent fb6bcb7364
commit d5b6d1f40c
2 changed files with 6 additions and 1 deletions

View file

@ -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

View file

@ -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);
}