Skip to content

Commit

Permalink
Forgot one call to new PrintStream
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Oct 25, 2020
1 parent 8283aaf commit 672c0f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jansi/src/main/java/org/fusesource/jansi/AnsiConsole.java
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ private static PrintStream ansiSystem(boolean stdout) {
// the ansi escapes.
if (getBoolean(JANSI_STRIP)) {
jansiOutputType = JansiOutputType.STRIP_ANSI;
return new PrintStream(new AnsiNoSyncOutputStream(out, new AnsiProcessor(out), enc), true);
return newPrintStream(new AnsiNoSyncOutputStream(out, new AnsiProcessor(out), enc), enc);
}

if (IS_WINDOWS) {
Expand Down

0 comments on commit 672c0f9

Please sign in to comment.