Replace text on same line

I've made a countdown timer and it works fine. At the moment it displays the time till 0 on a new line (4...3..2...1....) but I want it to just have one time on one line which keeps changing.

Is this possible?
Yes, but not without a large amount of effort. You'll need to use the curses library.

http://en.wikipedia.org/wiki/Ncurses
you can simply use carriage return without a line feed then try to overwrite your previous count
Topic archived. No new replies allowed.