examples/read_line.rb in ncursesw-1.2.4.3 vs examples/read_line.rb in ncursesw-1.4.0.0
- old
+ new
@@ -5,10 +5,10 @@
#
# Written 2003, 2004 by Tobias Peters
# No warranties
# Share and enjoy!
-require "ncurses"
+require "ncursesw"
# read_line returns an array
# [string, last_cursor_position_in_string, keycode_of_terminating_enter_key].
# Complete the "when" clauses before including in your app!
def read_line(y, x,