Cursor position within the console in ruby

Hello... I've been working with ruby for some time, but this one has
me stumped. Is there a nice way to position the cursor within the
console? For instance, something simple: just move up one line
relatively? In bash I would use something like:
tput cuu1
What about absolute positioning, like a having a countdown occur on a
certain place on the screen?

Is this possible? I'm coming up with blanks on how to attempt
this...? I'm sure this has been tackled before... Anyone want to
point me in the right direction?
thanks!

Curses in the standard library may work if you can afford the dependency.

http://www.ruby-doc.org/stdlib/libdoc/curses/rdoc/index.html

ยทยทยท

On Thu, Jul 31, 2008 at 1:44 PM, juicymixx@mailinator.com <juicymixx@mailinator.com> wrote:

Is this possible? I'm coming up with blanks on how to attempt
this...? I'm sure this has been tackled before... Anyone want to
point me in the right direction?
thanks!