```ruby require 'io/console' loop do puts($stdin.getch.inspect) end # KeyPresses: # A => "A" # B => "B" # \n => nothing... # C => "\n" # D => returns twice "C" "D" ```