progress = AnsiUtils.getProgressBar(interactive);
}
private static ConsoleRenderer<Line> createRenderer(Renderer<Line> renderer, boolean ansi, boolean fixedWidth) {
renderer.setWidth(Terminal.getTerminal().getTerminalWidth());
TailRenderer tr = new TailRenderer(renderer, ansi);
tr.setFixedWidth(fixedWidth);
return tr;
}