seanohalpin / ffi-ncurses

Interface to ncurses using Ruby FFI (Foreign Function Interface)
MIT License
82 stars 21 forks source link

Key definitions is not required at default #3

Closed ukstv closed 14 years ago

ukstv commented 14 years ago

It seems keydefs.rb is never used or required so things like FFI::NCurses::KEY_UP or FFI::NCurses::KEY_DOWN raise error.

seanohalpin commented 14 years ago

You can require it yourself using 'require "ffi-ncurses/keydefs.rb"' or install the latest version of the gem (0.3.3) where it is done for you.

ukstv commented 14 years ago

Thanks!