@Override
    public void write(char[] cbuf, int off, int len) {
      RunContentDescriptor descriptor = myDescriptor.get();
      ConsoleViewImpl console = ObjectUtils.tryCast(descriptor != null ? descriptor.getExecutionConsole() : null, ConsoleViewImpl.class);
      String text = new String(cbuf, off, len);
      if (console == null) {
        LOG.info(myOutputType + ": " + text);
      }
      else {
        myAnsiEscapeDecoder.escapeText(text, myOutputType, (s, attr) -> {
          console.print(s, ConsoleViewContentType.getConsoleViewType(attr));
        });
      }
    }
@Override
    public void write(char[] cbuf, int off, int len)