You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Nathan Furnal (Jira)" <ji...@apache.org> on 2020/12/05 17:07:00 UTC
[jira] [Created] (NETBEANS-5097) No color on output
Nathan Furnal created NETBEANS-5097:
---------------------------------------
Summary: No color on output
Key: NETBEANS-5097
URL: https://issues.apache.org/jira/browse/NETBEANS-5097
Project: NetBeans
Issue Type: Bug
Components: platform - Output Window
Affects Versions: 12.1
Environment: Linux - Arch Linux - Kernel 5.9.x - Netbeans 12.1 build from
Reporter: Nathan Furnal
Attachments: netbeans-color-issue.png
The netbeans output window does not output colors.
Steps to reproduce :
# Create a Class.
# Write a main with the following code
```java
public static void main(String[] args){
String ANSI_RESET = "\u001B[0m";
String ANSI_RED = "\u001B[31m";
System.out.println(ANSI_RED + "This text is red!" + ANSI_RESET);
}
```
Which doesn't prints any color. I also tried using Jshell, the output is also not colored and is also mangled :
=> [31mThis text is red![0m
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists