Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: collist v2.0
- X-seq: zsh-workers 6780
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: collist v2.0
- Date: Tue, 22 Jun 1999 11:56:28 +0200 (MET DST)
- In-reply-to: Peter Stephenson's message of Tue, 22 Jun 1999 11:04:35 +0200
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Peter Stephenson wrote:
> - go somewhere with too many files
> - type `echo <menu-select key>' (without the quotes, of course)
> - answer n to the message
> - the first menucompletion match is inserted; hit TAB to go to the next
Forgot to clear showinglist...
Btw.: If you start with menu-select you can't `continue'
menu-completion with a different widget. That's caused by the test at
zle_tricky.c:809 that was changed when we were working on _oldlist.
However, you can continue menu-completion by repeatedly invoking
menu-select (it degenerates into normal menu-completion when it
doesn't get its list).
Bye
Sven
diff -u os/Zle/collist.c Src/Zle/collist.c
--- os/Zle/collist.c Tue Jun 22 11:51:28 1999
+++ Src/Zle/collist.c Tue Jun 22 11:52:03 1999
@@ -292,9 +292,10 @@
int mc, ml = 0, cc, hasm = 0;
struct listcols col;
- if (minfo.asked == 2)
+ if (minfo.asked == 2) {
+ showinglist = 0;
return (noselect = 1);
-
+ }
getcols(&col);
/* Set the cursor below the prompt. */
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author