examples/example.rb in ncursesw-1.2.4.3 vs examples/example.rb in ncursesw-1.4.0.0
- old
+ new
@@ -1,8 +1,8 @@
#!/usr/bin/env ruby
-# $Id: example.rb,v 1.4 2002/03/04 13:24:29 t-peters Exp $
+# $Id: example.rb,v 1.4 2002-03-04 13:24:29 t-peters Exp $
# This file provides an example for the usage of the ncurses-ruby module.
# Copyright (C) 2002 Tobias Peters <t-peters@users.berlios.de>
#
# The following license applys only to this file. It is less restrictive
@@ -57,10 +57,10 @@
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
-require "ncurses"
+require "ncursesw"
def moving(scr)
scr.clear() # clear screen
scr.move(5,5) # move cursor
scr.addstr("move(5,5)")