fn() isAnsiColorTerminal
Check whether we are printing to a terminal that supports ANSI color codes.

Defined in <seqan/misc/terminal.h>
Signature bool isAnsiColorTerminal();

Return Values

bool true if we are in a terminal and the terminal interprets ANSI color code.

Detailed Description

Remarks

Currently, we assume that UNIX terminals support color while Windows terminals and non-terminals do not.

Data Races

If not stated otherwise, concurrent invocation is not guaranteed to be thread-safe.

See Also