@Nls
    private static String wrapWithAnsiColor(MessageEvent.Kind kind, @Nls String message) {
      if (kind == MessageEvent.Kind.SIMPLE) return message;
      @NlsSafe
      String color;
      if (kind == MessageEvent.Kind.ERROR) {
        color = ANSI_RED;
      }
      else if (kind == MessageEvent.Kind.WARNING) {
        color = ANSI_YELLOW;
      }
      else {
        color = ANSI_BOLD;
      }
      @NlsSafe final String ansiReset = ANSI_RESET;
      return color + message + ansiReset;
    }
@Nls
    private static String wrapWithAnsiColor(MessageEvent.Kind kind, @Nls String message)