Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [BUG] queueing_enabled grows infinitely when in .recursive-edit
On Oct 3, 6:43pm, Sebastian Gniazdowski wrote:
}
} So being in .recursive-edit is detectable from scheduled function? How?
Specifically being in recursive-edit isn't directly detectable, but
it is unlikely someone would bind a key directly to recursive-edit.
So either the user-defined widget that runs "zle .recursive-edit" can
define a parameter through which it communicates with the scheduled
function, or the scheduled function can examine state ($funcstack or
$zsh_eval_context) to find out whether it is "inside" a widget.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author