TerminalAttributesFactory typedef

TerminalAttributesFactory = TerminalAttributes Function(StringSink sink)

A function that takes in a sink and returns the TerminalAttributes that should be associated with the sink.

Implementation

typedef TerminalAttributesFactory = TerminalAttributes Function(
    StringSink sink);