fusesource / jansi

Jansi is a small java library that allows you to use ANSI escape sequences to format your console output which works even on windows.
http://fusesource.github.io/jansi/
Apache License 2.0
1.11k stars 140 forks source link

Missing DEFAULT colours in AnsiRender #213

Closed mattjlewis closed 3 years ago

mattjlewis commented 3 years ago

The enum values DEFAULT(Color.DEFAULT), FG_DEFAULT(Color.DEFAULT, false) and BG_DEFAULT(Color.DEFAULT, true) are missing in AnsiRenderer: https://github.com/fusesource/jansi/blob/5ff755541b67100b9d756ffdebc4d0ef3eec87d7/src/main/java/org/fusesource/jansi/AnsiRenderer.java#L174

I noticed the comment on line 163: TODO: Find a better way to keep Code in sync with Color/Attribute/Erase