I want to countdown a number from 10 to 0(for example) in the same line and same point I use following code in Java :
\033[2J\033[;H ,
but in terminal the cursor always goes at the top left point of screen. How to fix it?
Thanks!!!
I want to countdown a number from 10 to 0(for example) in the same line and same point I use following code in Java :
\033[2J\033[;H ,
but in terminal the cursor always goes at the top left point of screen. How to fix it?
Thanks!!!