private void print(@NotNull @Nls String message, @NotNull MessageEvent.Kind kind) {
      String text = wrapWithAnsiColor(kind, message);
      if (!isNewLinePosition && !startsWithChar(message, '\r')) {
        text = '\n' + text;
      }
      isNewLinePosition = endsWithLineBreak(message);
      progress.output(text, kind != MessageEvent.Kind.ERROR);
    }
private void print(@NotNull @Nls String message, @NotNull MessageEvent.Kind kind)