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:
parent
b1d4a8194a
commit
5de80f85b4
3 changed files with 8 additions and 4 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue