1234567module juptune.core.util.ansi;
void toSink(
Sink
)(
Sink sink
);
Outputs in order: The start sequence (`.toFullStartSequence`), the output text (`.text`), and the end sequence (`.toFullEndSequence`) into the given sink.
This function by itself does not allocate memory.
This function will infer attributes, so as to be used in whatever attribute-souped environment your sink supports.
$(B Please read the warnings described in .toRange) TLDR; don't persist the slices given to the sink under any circumstance. You must copy the data as soon as you get it.