Skip to content

Commit

Permalink
slightly more all-encompassing console output event
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Feb 17, 2020
1 parent afd7ed4 commit eea0a98
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,16 @@ public void print(String s) {
antiLoop = false;
}

@Override
public void print(Object obj) {
print(String.valueOf(obj));
}

@Override
public void print(char[] buf) {
print(new String(buf));
}

private boolean antiLoop = false;

public void redirectOutput() {
Expand Down

0 comments on commit eea0a98

Please sign in to comment.