From: fedzor Date: 2008-06-17T09:34:50+09:00 Subject: Re: How to capture a keypress On Jun 16, 2008, at 8:10 PM, Simon Blanco wrote: > Hi there, > I'm making an interface for a console program that should react > whenever > the user presses the keys a, m, n or s. > I tried to look for a method like keydown or keypress, but I couldn't > find anything alike, neither any gem related to that purpose (I'm > still > newbie using rubygems and to ruby either ^^" ) Check out rawline, and learn to use that! http://rubyforge.org/projects/rawline/ the examples are pretty good. _______________________________| - Ari I just bought another case of RockStar. Expect architectural changes.