File tree 2 files changed +5
-8
lines changed
src/main/java/textFormatter
2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -4,11 +4,11 @@ plugins {
4
4
}
5
5
6
6
group = " com.darvil"
7
- version = " 2.2.0 "
7
+ version = " 2.2.0b "
8
8
description = " Text formatting utilities to easily format text on the terminal for Java."
9
9
10
10
dependencies {
11
- implementation(" com.darvil:utils:0.6.1 " )
11
+ implementation(" com.darvil:utils:0.6.1b " )
12
12
13
13
implementation(" org.jetbrains:annotations:24.0.0" )
14
14
testImplementation(platform(" org.junit:junit-bom:5.9.1" ))
24
24
25
25
repositories {
26
26
mavenCentral()
27
+ mavenLocal()
27
28
maven(" https://repsy.io/mvn/darvil/java" )
28
29
}
29
30
Original file line number Diff line number Diff line change 4
4
import org .jetbrains .annotations .Nullable ;
5
5
import textFormatter .color .Color ;
6
6
import textFormatter .color .SimpleColor ;
7
+ import utils .UtlString ;
7
8
8
9
import java .util .ArrayList ;
9
10
import java .util .Arrays ;
@@ -390,7 +391,7 @@ else if (TextFormatter.startWithDefaultColorIfNotDefined && this.parent == null)
390
391
391
392
if (TextFormatter .debug )
392
393
return "ESC[" + joined + "]" ;
393
- return "" + ESC + '[' + joined + 'm' ;
394
+ return "" + UtlString . ESCAPE_CHAR + '[' + joined + 'm' ;
394
395
}
395
396
396
397
/**
@@ -402,9 +403,4 @@ else if (TextFormatter.startWithDefaultColorIfNotDefined && this.parent == null)
402
403
public static boolean isColorDisabledEnv () {
403
404
return System .getenv ("NO_COLOR" ) != null ;
404
405
}
405
-
406
- /**
407
- * Escape character which represents the start of a terminal sequence
408
- */
409
- public static final char ESC = '\u001B' ;
410
406
}
You can’t perform that action at this time.
0 commit comments