Return to Snippet

Revision: 55377
at February 4, 2012 03:48 by spupy


Initial Code
public class Foo {
  public static void main(String[] args) throws Exception {
   System.out.print("old line");
   Thread.sleep(3000);
   System.out.print("\rnew");
  }
}

Initial URL

                                

Initial Description
Returns the cursor on the console to the start of the line.

Initial Title
Java console: return to the start of line

Initial Tags

                                

Initial Language
Java