Ok, this *seems* to be an issue related to running Jansi through the maven surefire plugin. (see here: https://groups.google.com/forum/?fromgroups=#!topic/jansi-dev/pfbgiAh7itY). I'm not entirely sure how the surefire plugin intercepts the console output, but whatever it does seems to make the difference.
When run with the maven exec plugin (mvn clean install exec:java -Dexec.mainClass=blah.AnsiTest -DskipTests), the code works as expected.
I don't think this is an issue that can be solved by logback other than maybe some 'are you running with surefire?' question in the log output?
When run with the maven exec plugin (mvn clean install exec:java -Dexec.mainClass=blah.AnsiTest -DskipTests), the code works as expected.
I don't think this is an issue that can be solved by logback other than maybe some 'are you running with surefire?' question in the log output?