Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
minibuffer widget RE: Non-patch: zle argument handling
- X-seq: zsh-workers 6743
- From: "Andrej Borsenkow" <borsenkow.msk@xxxxxx>
- To: "Andrej Borsenkow" <borsenkow.msk@xxxxxx>, "Sven Wischnowsky" <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>, <zsh-workers@xxxxxxxxxxxxxx>
- Subject: minibuffer widget RE: Non-patch: zle argument handling
- Date: Mon, 21 Jun 1999 13:13:21 +0400
- Importance: Normal
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
>
> You cannot edit input with read -k.
>
Is it possible to make minibuffer separate widget? We could then do something
like:
zle .minibuffer "Prompt string" <parameter> ...
with semantics:
minibuffer reads input key with normal editing capabilities. Anything, that is
not consumed by minibuffer, is assigned to <parameter>. We could pass additional
parameters to switch off editing if raw input is needed.
This should probably return some indication that minibuffer was cancelled (with
^G or anything else) to provide loop termination condition.
/andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author