This is probably a bit late, however the general answer is yes. For Ant-based projects it seems to work out-of-the-box. If you use Maven, you have to pass "-Djansi.passthrough=true" to Maven, e.g. by adding it to MAVEN_OPTS. You can also add it to a particular action by specifying "Env.MAVEN_OPTS=-Djansi.passthrough=true" in Project Properties > Actions > Set Properties.

Niklas


On Sun 2020-05-24 at 19:49h, Peter Steele wrote on users:
Hi

Does the output window support the ability to display ansi colors? (it
doesn't work by default, just wondering if there is a setting used to turn
it on, the window can def display color as it already does).

https://en.wikipedia.org/wiki/ANSI_escape_code

Example

System.out.println("\u001B[91m" + "This text is red!" + "\u001B[0m");

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to