File tree 2 files changed +11
-1
lines changed
src/main/java/org/fusesource/jansi
2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 15
15
*/
16
16
package org .fusesource .jansi ;
17
17
18
- import java .io .IOException ;
19
18
import java .util .ArrayList ;
20
19
import java .util .concurrent .Callable ;
21
20
Original file line number Diff line number Diff line change 27
27
import java .io .PrintStream ;
28
28
import java .util .Properties ;
29
29
30
+ import org .fusesource .jansi .Ansi .Attribute ;
30
31
import org .fusesource .jansi .internal .CLibrary ;
31
32
import org .fusesource .jansi .internal .JansiLoader ;
32
33
@@ -194,6 +195,16 @@ private static void testAnsi(boolean stderr) {
194
195
s .print (" " + ansi ().bold ().fg (c ) + c + ansi ().reset ());
195
196
}
196
197
s .println ();
198
+ s .print (" faint:" );
199
+ for (Ansi .Color c : Ansi .Color .values ()) {
200
+ s .print (" " + ansi ().a (Attribute .INTENSITY_FAINT ).fg (c ) + c + ansi ().reset ());
201
+ }
202
+ s .println ();
203
+ s .print (" bold+faint:" );
204
+ for (Ansi .Color c : Ansi .Color .values ()) {
205
+ s .print (" " + ansi ().bold ().a (Attribute .INTENSITY_FAINT ).fg (c ) + c + ansi ().reset ());
206
+ }
207
+ s .println ();
197
208
Ansi ansi = ansi ();
198
209
ansi .a (" 256 colors: " );
199
210
for (int i = 0 ; i < 6 *6 *6 ; i ++) {
You can’t perform that action at this time.
0 commit comments