Class Ansi

java.lang.Object
io.cucumber.prettyformatter.Ansi

public final class Ansi extends Object
Represents an ANSI escape code in the format CSI n m.
  • Method Details

    • with

      public static Ansi with(Ansi.Attributes... attributes)
      Constructs an ANSI escape code with the given attributes.
      Parameters:
      attributes - to include.
      Returns:
      an ANSI escape code with the given attributes
    • toString

      public String toString()
      Overrides:
      toString in class Object