void (@NotNull String text, @NotNull ConsoleViewContentType contentType) { Key<?> outputType; if (contentType.equals(ConsoleViewContentType.ERROR_OUTPUT)) { outputType = ProcessOutputTypes.STDERR; } else { outputType = ProcessOutputTypes.STDOUT; } myAnsiEscapeDecoder.escapeText(text, outputType, (chunk, attributes) -> { ConsoleViewContentType type = getPydevConsoleView().outputTypeForAttributes(attributes); getPrimaryConsoleView().print(chunk, type); getPydevConsoleView().print(chunk, type); }); }