Populates the given buffer with the full ANSI sequence needed to enable the styling
defined within this AnsiTextLite
Unlike the usual toSequence functions, this function includes the ANSI_CSI and ANSI_COLOUR_END markers,
meaning the output from this function is ready to be printed as-is.
Do note that this function doesn't insert a null-terminator, so if you're using anything based on C strings, you need
to insert that yourself.
Notes:
Any parts of the buffer that are not populated by this function are left untouched.
Populates the given buffer with the full ANSI sequence needed to enable the styling defined within this AnsiTextLite
Unlike the usual toSequence functions, this function includes the ANSI_CSI and ANSI_COLOUR_END markers, meaning the output from this function is ready to be printed as-is.
Do note that this function doesn't insert a null-terminator, so if you're using anything based on C strings, you need to insert that yourself.
Notes: Any parts of the buffer that are not populated by this function are left untouched.