Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [RESEND] Do 'select' should behave like this?
- X-seq: zsh-workers 20120
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh Workers <zsh-workers@xxxxxxxxxx>
- Subject: Re: [RESEND] Do 'select' should behave like this?
- Date: Wed, 30 Jun 2004 08:47:02 -0700 (PDT)
- In-reply-to: <20040630102058.GB4498@DervishD>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20040630102058.GB4498@DervishD>
- Reply-to: Zsh Users <zsh-users@xxxxxxxxxx>
On Wed, 30 Jun 2004, DervishD wrote:
> select ITEM in 1 2 3 4 ; do print $ITEM ; clear ; done
>
> Enter '1', for example, and see how the list dissapears.
Right; "select" only reprints the select list when the user seems to be
confused about the possible choices. It has no way of knowing what the
state of the screen is.
> You must press 'enter' to display it again. Any way of solving this?
Not directly with only select. You can of course do this:
while some suitable condition
do
select ITEM in 1 2 3 4
do
a thing that wipes the screen
break
done
done
Messages sorted by:
Reverse Date,
Date,
Thread,
Author