diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-04-12 08:31:55 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-04-12 08:31:55 +0000 |
commit | 5de80f85b458fbec49851a95f4d154e4f08fcbb0 (patch) | |
tree | 3c18626b54a17bf7997f0d597cc354f4151b0efe /Src/Zle | |
parent | b1d4a8194a12b74a5bae9951ae7d20e5af82f715 (diff) | |
download | zsh-5de80f85b458fbec49851a95f4d154e4f08fcbb0.tar.gz zsh-5de80f85b458fbec49851a95f4d154e4f08fcbb0.tar.xz zsh-5de80f85b458fbec49851a95f4d154e4f08fcbb0.zip |
display number of lines instead of number of matches when asking whether to show completion lists (10686)
Diffstat (limited to 'Src/Zle')
-rw-r--r-- | Src/Zle/compresult.c | 4 | ||||
-rw-r--r-- | Src/Zle/zle_tricky.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Src/Zle/compresult.c b/Src/Zle/compresult.c index 6870bbcd9..78b22ff59 100644 --- a/Src/Zle/compresult.c +++ b/Src/Zle/compresult.c @@ -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) { diff --git a/Src/Zle/zle_tricky.c b/Src/Zle/zle_tricky.c index 5dc8a5e06..4c7286ee9 100644 --- a/Src/Zle/zle_tricky.c +++ b/Src/Zle/zle_tricky.c @@ -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) { |