Skip to content

Commit f1e4085

Browse files
committed
make blank lines padding only in the IDE console and not in terminal
1 parent bfa6a39 commit f1e4085

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

app/src/processing/app/ui/Editor.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2306,9 +2306,7 @@ public void prepareRun() {
23062306

23072307
// Do this to advance/clear the terminal window / dos prompt / etc.
23082308
// This may be useful especially when 'console.auto_clear' is false.
2309-
// TODO: use `console.message()` instead of `System.out.println()`?
2310-
// i.e. for (int i = 0; i < headPadding; i++) console.message("\n", false);
2311-
for (int i = 0; i < headPadding; i++) System.out.println();
2309+
for (int i = 0; i < headPadding; i++) console.message("\n", false);
23122310

23132311
// clear the console on each run, unless the user doesn't want to
23142312
if (Preferences.getBoolean("console.auto_clear")) {

0 commit comments

Comments
 (0)