File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/textFormatter Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 10
10
import java .util .List ;
11
11
12
12
/**
13
- * Allows to easily format text for display in a terminal.
13
+ * Allows easily formatting of text for it to be displayed in a terminal.
14
14
* <p>
15
15
* Multiple formatters can be concatenated together. This is useful for when you want to
16
16
* format a string that has multiple parts that need to be formatted differently.
@@ -21,7 +21,7 @@ public class TextFormatter {
21
21
* When set to {@code false}, no formatting will be applied to text. Raw text will be generated without any
22
22
* color or formatting.
23
23
*/
24
- public static boolean enableSequences = true ;
24
+ public static boolean enableSequences = ! TextFormatter . getNoColorEnvironment () ;
25
25
26
26
/**
27
27
* The default color that should be used when no foreground color is specified (if {@link #startWithDefaultColorIfNotDefined}
You can’t perform that action at this time.
0 commit comments