lib/ppcurses/actions/PromptAction.rb in ppcurses-0.0.10 vs lib/ppcurses/actions/PromptAction.rb in ppcurses-0.0.11
- old
+ new
@@ -11,10 +11,10 @@
@parent = action
end
def printPrompt()
if @parent.nil?
- @win.setpos(@win.cury() + 1, self.winPadding())
+ @win.setpos(@win.cury(), self.winPadding())
else
@win.setpos(@win.cury(), @parent.winPadding())
end
@win.addstr(@prompt)
end