1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-11-29 15:40:56 +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

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

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) {