Have static lines in console
I am wondering how to in Java set up the console so the first couple lines in the console will always be there and contain info about the program. So for example I would want the progam to display the first line in the console as: JavaProgram Version: 0.5b
and even if the console spams new lines that line will stay at the top. Another good example would be how cgminer shows the most relevant data at the top.
My initial approach for tackling this issue would be to create a loop that every tick send enough lines to exactly fill the console size; however, I do not know if it is possible to get the console height.
Any help would be awesome! Thank you, Kyle