console clearing stuff patched over from 68

This commit is contained in:
benfry
2004-02-18 14:54:02 +00:00
parent 67db5bc051
commit 5fcb5b97d2
4 changed files with 18 additions and 2 deletions

View File

@@ -933,9 +933,14 @@ public class PdeEditor extends JFrame
running = true;
buttons.run();
// spew some blank lines so it's clear what's new on the console
// do this for the terminal window / dos prompt / etc
for (int i = 0; i < 10; i++) System.out.println();
// clear the console on each run, unless the user doesn't want to
if (PdeBase.getBoolean("console.auto_clear", true)) {
console.clear();
}
presenting = present;
if (presenting) {
// wipe everything out with a bulbous screen-covering window