开发者

How can I capture terminal arrow keys in 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜