From: Marius Friis Date: 2006-01-25T05:11:02+09:00 Subject: Re: How to capture a pressed key? You might want to look into the curses/ncurses library for Ruby. This does what you want, but there might be a bit too much overhead for what your planning to do. Another thing that comes to mind is using non-blocking IO on stdin. not even sure if this is possible tho. On 24. jan. 2006, at 16.56, Rubyist wrote: > Oh, I know the "gets". But user will need to press "enter" in order to > "gets" to get something. I want to let the interpreter get a letter > WITHOUT pressing the enter key. > > -- Marius Friis mariusfriis@mac.com