Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6218

Jansi 1.13 does not recognize MinGW bash

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Auto Closed
    • 3.5.0
    • None
    • Command Line
    • None
    • Windows Git Bash(MinGW)

    Description

      Jansi checks if the platform is Windows to decide if coloring needs to be handled differently. In the case that MinGW is detected it will handle coloring as if it was running on Unix.

      The test in Jansi 1.13 is if the enviroment variable TERM == "xterm", but MinGW returns "xterm-256color".
      Since Jansi 1.14 it checks if TERM starts with "xterm".

      see: https://github.com/fusesource/jansi/blob/jansi-project-1.14/jansi/src/main/java/org/fusesource/jansi/AnsiConsole.java#L123

      An upgrade to Jansi 1.14 or even 1.15 fixes this issue.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              DannyNullZwo Daniel Heinrich
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 24h
                  24h
                  Remaining:
                  Remaining Estimate - 24h
                  24h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified