lib/ppcurses/actions/GetIntegerAction.rb in ppcurses-0.0.25 vs lib/ppcurses/actions/GetIntegerAction.rb in ppcurses-0.1.0
- old
+ new
@@ -11,12 +11,12 @@
begin
@win.setpos(y, x_padding)
@win.clrtoeol
@win.box('|', '-')
@win.addstr(@prompt)
- echo
+ Curses.echo
@data = @win.getstr
- noecho
+ Curses.noecho
end until @data =~ /^\d+$/
end
end