ircColourByHashImpl

Implementation function used by ircColourByHash. Breaks out common functionality and reuses it.

private @safe pure
void
ircColourByHashImpl
(
Sink
String
)
(
ref Sink sink
,
const String word
,
const Flag!"extendedOutgoingColours" extendedOutgoingColours
)

Parameters

sink Sink

Output range sink to fill with the function's output.

word String

Some type of string to tint.

extendedOutgoingColours Flag!"extendedOutgoingColours"

Whether or not to use extended colours (16-98).