lib/ppcurses/actions/PromptAction.rb in ppcurses-0.0.25 vs lib/ppcurses/actions/PromptAction.rb in ppcurses-0.1.0
- old
+ new
@@ -25,12 +25,12 @@
@win.addstr(@prompt)
end
def execute
print_prompt
- echo
+ Curses.echo
@data = @win.getstr
- noecho
+ Curses.noecho
end
def data
@data
end