Default colours for printing events on a bright terminal background.
Default colours for printing events on a dark terminal background.
Searches a string for a substring that isn't surrounded by characters that can be part of a nickname. This can detect a nickname in a string without getting false positives from similar nicknames.
Formats an IRCEvent into an output range sink, coloured.
Formats an IRCEvent into an output range sink, in monochrome.
Puts a variadic list of values into an output range sink.
Slices away any type prefixes from the string of a IRCEvent.Type.
Implementation of Printer plugin functionality that concerns formatting. For internal use.
The IRCEvent-annotated handlers must be in the same module as the PrinterPlugin, but these implementation functions can be offloaded here to limit module size a bit.