From 5de80f85b458fbec49851a95f4d154e4f08fcbb0 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Wed, 12 Apr 2000 08:31:55 +0000 Subject: display number of lines instead of number of matches when asking whether to show completion lists (10686) --- ChangeLog | 4 ++++ Src/Zle/compresult.c | 4 ++-- Src/Zle/zle_tricky.c | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7a9d88d1e..d7b95acea 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2000-04-12 Sven Wischnowsky + * 10686: Src/Zle/compresult.c, Src/Zle/zle_tricky.c: display + number of lines instead of number of matches when asking whether + to show completion lists + * 10685: Doc/Zsh/zle.yo, Src/hist.c, Src/Modules/parameter.c, Src/Zle/iwidgets.list, Src/Zle/zle_misc.c: new widget copy-prev-shell-word, like copy-prev-word but uses shell parsing 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) { -- cgit 1.4.1