examples/hello_ncurses.rb in ncursesw-1.2.4.3 vs examples/hello_ncurses.rb in ncursesw-1.4.0.0
- old
+ new
@@ -1,8 +1,8 @@
#!/usr/bin/env ruby
-# $Id: hello_ncurses.rb,v 1.3 2002/02/28 13:50:03 t-peters Exp $
+# $Id: hello_ncurses.rb,v 1.3 2002-02-28 13:50:03 t-peters Exp $
# this ncurses-ruby program follows an ancient tradition of example
# computer programs: When invoked, it prints a friendly greeting on the
# screen and exits.
#
@@ -12,10 +12,10 @@
# First, we have to tell Ruby to use the Ncurses extension module:
-require "ncurses"
+require "ncursesw"
# Second, every program using ncurses must initialize the ncurses library
# before the first call to any ncurses function: