make blank lines padding only in the IDE console and not in terminal

This commit is contained in:
Junology
2025-01-17 19:04:00 +09:00
parent bfa6a392c8
commit f1e4085671
+1 -3
View File
@@ -2306,9 +2306,7 @@ public abstract class Editor extends JFrame implements RunnerListener {
// Do this to advance/clear the terminal window / dos prompt / etc.
// This may be useful especially when 'console.auto_clear' is false.
// TODO: use `console.message()` instead of `System.out.println()`?
// i.e. for (int i = 0; i < headPadding; i++) console.message("\n", false);
for (int i = 0; i < headPadding; i++) System.out.println();
for (int i = 0; i < headPadding; i++) console.message("\n", false);
// clear the console on each run, unless the user doesn't want to
if (Preferences.getBoolean("console.auto_clear")) {