AnsiStyleSet.MAX_CHARS_NEEDED

The maximum amount of characters any singular AnsiStyle sequence may use.

This is often used to create a static array to temporarily, and without allocation, store the sequence for an AnsiStyle.

struct AnsiStyleSet
enum MAX_CHARS_NEEDED = (AnsiColour.MAX_CHARS_NEEDED * 2) + AnsiStyle.MAX_CHARS_NEEDED;

Meta