Closed shiena closed 9 years ago
ansicolor compatibility will be lost when the output of the unknown escape sequence. For that reason, I've prepared two modes.
DiscardNonColorEscSeq is the same output as before. OutputNonColorEscSeq outputs the unknown escape sequence, but does not support the divided escape sequence as shown in the following test case. https://github.com/shiena/ansicolor/blob/unknown_esc_code/ansicolor_windows_test.go#L70
DiscardNonColorEscSeq
OutputNonColorEscSeq
ansicolor compatibility will be lost when the output of the unknown escape sequence. For that reason, I've prepared two modes.
DiscardNonColorEscSeq
is the same output as before.OutputNonColorEscSeq
outputs the unknown escape sequence, but does not support the divided escape sequence as shown in the following test case. https://github.com/shiena/ansicolor/blob/unknown_esc_code/ansicolor_windows_test.go#L70