Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-24387

Support parsing output of $(tput sgr0)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • ansicolor-plugin
    • None

    Description

      tput is a utility frequently used to set the terminal colors (if TERM is set to xterm).

      echo "$(tput setaf 3)highlight $(tput sgr0)normal"

      ansicolor works as expected here, too, however, when using $(tput sgr0) to reset the font properties, ansicolor leaves a "(B" visible.

      So the output when using ansicolor looks like:
      highlight normal(B

      I assume that's a part of the control sequence that ansicolor doesn't yet know about.

      Attachments

        Activity

          People

            Unassigned Unassigned
            nschum Nikolaj Schumacher
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: