about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-04-12 08:31:55 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-04-12 08:31:55 +0000
commit5de80f85b458fbec49851a95f4d154e4f08fcbb0 (patch)
tree3c18626b54a17bf7997f0d597cc354f4151b0efe
parentb1d4a8194a12b74a5bae9951ae7d20e5af82f715 (diff)
downloadzsh-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)
-rw-r--r--ChangeLog4
-rw-r--r--Src/Zle/compresult.c4
-rw-r--r--Src/Zle/zle_tricky.c4
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 <wischnow@informatik.hu-berlin.de>
 
+	* 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) {