Interface to ncurses using Ruby FFI (Foreign Function Interface)