1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-26 16:40:29 +01:00

display number of lines instead of number of matches when asking whether to show completion lists (10686)

This commit is contained in:
Sven Wischnowsky 2000-04-12 08:31:55 +00:00
parent b1d4a8194a
commit 5de80f85b4
3 changed files with 8 additions and 4 deletions

View file

@ -1585,8 +1585,8 @@ mod_export int asklist(void)
(!complistmax && listdat.nlines >= lines))) {
int qup;
zsetterm();
qup = printfmt("zsh: do you wish to see all %n possibilities? ",
listdat.nlist, 1, 1);
qup = printfmt("zsh: do you wish to see all %n lines? ",
listdat.nlines, 1, 1);
fflush(shout);
if (getzlequery() != 'y') {
if (clearflag) {

View file

@ -1991,8 +1991,8 @@ listlist(LinkList l)
int qup;
zsetterm();
qup = printfmt("zsh: do you wish to see all %n possibilities? ",
num, 1, 1);
qup = printfmt("zsh: do you wish to see all %n lines? ",
nlines, 1, 1);
fflush(shout);
if (getzlequery() != 'y') {
if (clearflag) {