views:

25

answers:

1

How can I capture arrow keys in a terminal without the user having to press "enter" after the arrow key?

A: 

Look into the ruby console libraries http://raa.ruby-lang.org/project/ruby-termios/ and http://raa.ruby-lang.org/project/ncurses-ruby/

Elf King