cursor position within the console in ruby

J

juicymixx

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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top