Class AnsiConsole

java.lang.Object
org.fusesource.jansi.AnsiConsole

@Deprecated public class AnsiConsole extends Object
Deprecated.
Does not install anything: Maven never replaces System.out/System.err, it only decides whether to emit colors (see org.apache.maven.jline.MessageUtils). Install calls are just counted, so code calling the JAnsi API, such as maven-shared-utils, keeps working without racing Maven for the console. This class comes from Jansi and is provided for backward compatibility with maven-shared-utils; Maven itself no longer ships Jansi.
  • Method Details

    • systemInstall

      public static void systemInstall()
      Deprecated.
    • isInstalled

      public static boolean isInstalled()
      Deprecated.
    • systemUninstall

      public static void systemUninstall()
      Deprecated.
    • out

      public static AnsiPrintStream out()
      Deprecated.
    • getTerminalWidth

      public static int getTerminalWidth()
      Deprecated.