I’m trying to print a string, only for 1 second.
The first thing I looked for was a method for deleting a line of console - terminal, But don't find anything.
Then try to backspace 5 times for example for “hello” then print another string like “ ” to delete hello string, but I couldn’t find out how \b
works for java.
Now I'm confused, how I actually can solve my problem.
Any idea for backspace? Or deleting something that's already printed?