Skip to content
Just a personal repo I use to keep examples of using the ruby curses libraries while I learn NCurses
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
01-hello_world.rb
02-initialization_functions.rb
03-printw_location.rb
04-more_input.rb
05-simple_attributes.rb
06-chgat_and_colors.rb
07-window_with_border.rb
08-efficient_window_with_border.rb
09-simple_colors.rb
10-simply_keyboard.rb
11-mouse.rb
12-temporarily_leaving_curses.rb
13-acs_variables.rb
14-panel_basics.rb
15-panel_browsing.rb
16-panel_move_and_resize.rb
30-snakes.rb
README

README

This is a bunch of examples that show how to use the NCurses library in Ruby.

I wrote these while following the tutorial for the C library:
http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/pdf/NCURSES-Programming-HOWTO.pdf

You'll need to install the ncurses gem (not use the system library) to run them
gem install ncurses

I may also look into the rbcurse gem later on
https://github.com/rkumar/rbcurse
You can’t perform that action at this time.