Backspace « character « Java Data Type Q&A





1. "Backspace" a character in STDOUT in Java?    stackoverflow.com

I'm building a simple application that basically does the following:

logger.debug("Server start.");
server.start();
System.in.read();
logger.debug("Server stop.");
server.stop();
What I'd really like to do is to completely obliterate whatever character the user types in, whether it's a line ...

3. Why the last character doesn't wipe out by backspace?    java-forums.org

@OP: In your original post you describe '\b' as a back space character and the observed output is consistent with that: it is a backspace character not a delete-to-the-left character. It moves the cursor (the position the next character will be written), one place to the left but it does not itself write or erase anything. @rohit: Software displaying a bunch ...