How can I 开发者_Python百科capture arrow keys in a terminal, without the user having to press "enter" after the arrow key?
Look into the Ruby console libraries ruby-termios and ncurses-ruby.
How can I 开发者_Python百科capture arrow keys in a terminal, without the user having to press "enter" after the arrow key?
Look into the Ruby console libraries ruby-termios and ncurses-ruby.
精彩评论