lib/ppcurses/actions/GetDataAction.rb in ppcurses-0.0.15 vs lib/ppcurses/actions/GetDataAction.rb in ppcurses-0.0.16
- old
+ new
@@ -1,6 +1,6 @@
-require 'ppcurses/actions/BaseAction.rb'
+require_relative 'BaseAction.rb'
module PPCurses
# An action that contains an array of prompt actions.
@@ -46,11 +46,11 @@
def execute()
createWindow()
echo
- y = @win.cury + 1
- @win.setpos(y,xPadding())
+ #y = @win.cury + 1
+ @win.setpos(@win.cury,xPadding())
self.beforeActions()
@actions.each do |action|
action.execute