“\b” in Java – Windows implemented

I don’t know about Eclipse’s failures (god knows I’ve pulled enough hair out trying to fix issues my coworker gets using Eclipse), but could you manage with using the [home] character?

System.out.print("Hello!" + (char)13);
System.out.print("      ");
System.out.print("Hello");

It’s a kludge compared to \b for your purpose, but if the output you’re using doesn’t work with one control character, try another! 🙂

Leave a Comment