Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-5097

No color on output

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 12.1
    • None
    • Linux - Arch Linux - Kernel 5.9.x - Netbeans 12.1 build from

    Description

      The netbeans output window does not output colors.

       

      Steps to reproduce :

       

      1. Create a Class.
      2. 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

       

      Attachments

        1. netbeans-color-issue.png
          83 kB
          Nathan Furnal

        Activity

          People

            Unassigned Unassigned
            nathan_apache Nathan Furnal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: