curses_menu

Ruby API to create terminal-based menus, using curses.

Install

Via gem

$ gem install curses_menu

Via a Gemfile

$ gem 'curses_menu'

Usage

require 'curses_menu'

CursesMenu.new 'My awesome new menu!' do |menu|
  menu.item 'How\'s life?' do
    puts 'Couldn\'t be easier'
    :menu_exit
  end
end

Check the examples folder for more examples.

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

Automated tests are done using rspec.

Do execute them, first install development dependencies:

bundle install

Then execute rspec

bundle exec rspec

Contributing

Any contribution is welcome: * Fork the github project and create pull requests. * Report bugs by creating tickets. * Suggest improvements and new features by creating tickets.

Credits

License

The BSD License. Please see License File for more information.