Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh exits after delete-char-or-list and two ^Cs
- X-seq: zsh-workers 20302
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Peter Stephenson <pws@xxxxxxx>
- Subject: Re: zsh exits after delete-char-or-list and two ^Cs
- Date: Wed, 1 Sep 2004 12:44:02 -0700 (PDT)
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <200409011810.i81IAJsN011846@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <200409011810.i81IAJsN011846@xxxxxxxxxxxxxx>
- Reply-to: zsh-workers@xxxxxxxxxx
On Wed, 1 Sep 2004, Peter Stephenson wrote:
> bin_zle_invalidate(UNUSED(char *name), UNUSED(char **args), UNUSED(Options ops), UNUSED(char func))
> {
> + if (zle_usable()) {
> if (!trashedzle)
> trashzle();
> return 0;
The effect of this is going to be that "zle -I" has no effect when called
from completion widgets, where previously it could. Is that really the
intent?
I'd think you wanted something more like:
if (zleactive) {
if (!trashedzle)
trashzle();
return zle_usable()? 0 : 1;
}
(Though perhaps not precisely that either.)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author