zsh-workers
 help / color / mirror / code / Atom feed
* minibuffer widget RE: Non-patch: zle argument handling
@ 1999-06-21  9:13 Andrej Borsenkow
  0 siblings, 0 replies; only message in thread
From: Andrej Borsenkow @ 1999-06-21  9:13 UTC (permalink / raw)
  To: Andrej Borsenkow, Sven Wischnowsky, zsh-workers

>
> 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-06-21  9:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-06-21  9:13 minibuffer widget RE: Non-patch: zle argument handling Andrej Borsenkow

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).