Output range sink to write to.
ANSI code to apply.
Force a specific ANSICodeType in cases where there is ambiguity.
Appender!(char[]) sink; sink.put("Hello "); sink.applyANSI(TerminalForeground.red, ANSICodeType.foreground); sink.put("world!"); sink.applyANSI(TerminalForeground.default_, ANSICodeType.foreground);
Applies an ANSI code to a passed output range.