Subject: How to capture a pressed key?
From: "Rubyist" <nuby.ruby.programmer gmail.com>
Date: Wed, 25 Jan 2006 00:52:04 +0900
Hi,
How can I capture a key from keyboard in a console program? I mean, I
want to get an answer consisted of only one letter and the user will
not press "enter". Just a key, that's all.
Thank you.