In repil how do you clear the screen when using java?
I know that you can use System.out.print("\f"); to clear a screen when using other java writing applications but it doesn't work on repil
Voters
I know that you can use System.out.print("\f"); to clear a screen when using other java writing applications but it doesn't work on repil
One way is to use this code.
@XavierDD actually do
\033[0;0H
not\033[H
@theangryepicbanana 0;0 are the default arguments and do not need to be specified.
This works with Java code in a REPL.
@XavierDD
@PAULHANNA , thanks. Wasn't expecting for people to look at older stuff on here.