How to read one non-blocking key press in Ruby
During the development of a simple command line game in Ruby, I wanted to check if the player has pressed a given key in a non-blocking and buffered way. That is: If no key was… How to read one non-blocking key press in Ruby








