Skip to content

Commit

Permalink
Add missing colors to AnsiRender, fixes #213
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Jul 23, 2021
1 parent 01d68f0 commit e019a75
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/org/fusesource/jansi/AnsiRenderer.java
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ public enum Code {
MAGENTA(Color.MAGENTA),
CYAN(Color.CYAN),
WHITE(Color.WHITE),
DEFAULT(Color.DEFAULT),

// Foreground Colors
FG_BLACK(Color.BLACK, false),
Expand All @@ -182,6 +183,7 @@ public enum Code {
FG_MAGENTA(Color.MAGENTA, false),
FG_CYAN(Color.CYAN, false),
FG_WHITE(Color.WHITE, false),
FG_DEFAULT(Color.DEFAULT, false),

// Background Colors
BG_BLACK(Color.BLACK, true),
Expand All @@ -192,6 +194,7 @@ public enum Code {
BG_MAGENTA(Color.MAGENTA, true),
BG_CYAN(Color.CYAN, true),
BG_WHITE(Color.WHITE, true),
BG_DEFAULT(Color.DEFAULT, true),

// Attributes
RESET(Attribute.RESET),
Expand Down

0 comments on commit e019a75

Please sign in to comment.