Skip to content

Commit cd34211

Browse files
slachiewiczhboutemy
authored andcommitted
Pass RESET_CODE via filter while closing PrintStream
Fixes #107
1 parent 14b601c commit cd34211

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jansi/src/main/java/org/fusesource/jansi/AnsiPrintStream.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ private int optionInt(ArrayList<Object> options, int index, int defaultValue) {
781781

782782
@Override
783783
public void close() { // expected diff with AnsiOutputStream.java
784-
ps.print(RESET_CODE); // expected diff with AnsiOutputStream.java
784+
print(RESET_CODE); // expected diff with AnsiOutputStream.java
785785
flush();
786786
super.close();
787787
}

0 commit comments

Comments
 (0)