sbt/testing
Ethan Atkins 78620cd902 Manage ansi codes and color codes separately
The ConsoleAppender formatEnabledInEnv field was being used both as an
indicator that ansi codes were supported and that color codes are
enabled. There are cases in which general ansi codes are not supported
but color codes are and these use cases need to be handled separately.
To make things more explicit, this commit adds isColorEnabled and
isAnsiSupported to the Terminal companion object so that we can be more
specific about what the requirements are (general ansi escape codes or
just colors). There are a few cases in ConsoleAppender itself where
formatEnabledInEnv was used to set flags for both color and ansi codes.
When that is the case, we use Terminal.isAnsiSupported because when that
is true, colors should at least work but there are terminals that
support color but not general ansi escape codes.
2020-10-21 08:01:12 -07:00
..
agent/src/main/java/sbt Fix #5801: Remove duplicate TaskDefs in test agent 2020-08-26 17:19:35 +02:00
src/main Manage ansi codes and color codes separately 2020-10-21 08:01:12 -07:00
NOTICE Add, configure & enforce file headers 2017-10-05 09:03:40 +01:00