Ruby 1.9 curses library on windows - detect arrow keys?

R

Rico

I have been using ncurses-ruby with Ruby 1.8 on Windows. Upon
upgrading to Ruby 1.9 I discovered that the built-in curses library
supports colour etc. so I switched to that (very easy). Unfortunately
unlike Ncurses, Curses.getch does not return anything for arrow keys
or function keys.

Am I missing something or is this a bug?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top