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:
parent
b1d4a8194a
commit
5de80f85b4
3 changed files with 8 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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