From: Ruby Student Date: 2009-02-20T05:22:46+09:00 Subject: Re: ASCII Menu in Ruby, is it possible? --0016e64418dca4676f04634b4d35 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Thu, Feb 19, 2009 at 3:12 PM, Eleanor McHugh < eleanor@games-with-brains.com> wrote: > On 19 Feb 2009, at 19:47, Ruby Student wrote: > >> Hello Team, >> >> Is there a way in Ruby to create primitive ASCII menus? >> At this point I am shying away from GUI as everything outthere, in the GUI >> world is too.... >> I just want to know if I can create simple menus of the type: >> >> 1 - Enter 1 and press Enter to continue >> 2 - Enter 2 or X and press Enter to exit >> 3 - Etc. >> >> Thank you >> > > You can find an example of doing this with the termios library by following > the link in my sig and reading the Camping presentation. For more advanced > text-based GUIs you could look at ncurses and highline. > > > Ellie > > Eleanor McHugh > Games With Brains > http://slides.games-with-brains.net > ---- > raise ArgumentError unless @reality.responds_to? :reason > > > > Eleanor, Thank you for your help. It is highly appreciated! -- Ruby Student --0016e64418dca4676f04634b4d35--