From: Ezra Zygmuntowicz Date: 2006-07-29T09:13:21+09:00 Subject: Re: ruby threads? the point? On Jul 28, 2006, at 4:42 PM, Eric Armstrong wrote: > Chad Perrin wrote: >> On Sat, Jul 29, 2006 at 08:07:10AM +0900, Eric Armstrong wrote: >>> So how would you implement a simple keyboard-controller >>> for threads on Windows? >>> >>> Or are my options restricted to full-blown GUI >>> or nothing at all? >> You could always just implement your own text-based captive >> interface, >> if that's what you really want. > Riiigghttt.... > > Given infinite time and energy, I could build everything > I ever wanted or needed, and then some. > > I was kind of looking for a simple solution that "just > works" until I can get around to adding the GUI I > eventually plan to add anyway. > > It sounds so seductively simple, too: "just implement > my own text-based captive interface". (What the heck > is that, anyway?) > :_) Eric- Have a look at the highline gem. Its a great library for console based question and menu systems. And it works with threading. -Ezra