zsh-users
 help / color / mirror / code / Atom feed
* Re: [RESEND] Do 'select' should behave like this?
       [not found] ` <Pine.LNX.4.60.0406300839300.5600@toltec.zanshin.com>
@ 2004-06-30 19:14   ` DervishD
  0 siblings, 0 replies; only message in thread
From: DervishD @ 2004-06-30 19:14 UTC (permalink / raw)
  To: Zsh Users; +Cc: Zsh Workers

    Hi Bart :)

 * Bart Schaefer <schaefer@brasslantern.com> dixit:
> >     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.

    OK, I thought that it was a bug, but this makes sense.
 
> > 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

    That will do, Bart, thanks a lot :))))) 

    Raúl Núñez de Arenas Coronado

-- 
Linux Registered User 88736
http://www.pleyades.net & http://raul.pleyades.net/


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

only message in thread, other threads:[~2004-06-30 19:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20040630102058.GB4498@DervishD>
     [not found] ` <Pine.LNX.4.60.0406300839300.5600@toltec.zanshin.com>
2004-06-30 19:14   ` [RESEND] Do 'select' should behave like this? DervishD

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