public ColorBuffer style(Consumer<ColorBuffer> bufferConsumer, Style... styles) {
        try {
            colors.startStyle(buffer, styles);
            bufferConsumer.accept(this);
            return this;
        } finally {
            if (styles.length > 0) {
                colors.endStyle(buffer);
            }
        }
    }
Writes a system-dependent new line.

@return Returns the buffer.
smithy-cli/src/main/java/software/amazon/smithy/cli/ColorBuffer.java