Function trv::sys::is_colourable#
Defined in File monitor.cpp
Function Documentation#
-
bool trv::sys::is_colourable()#
Check if the program
stdoutis colourable.Note
trueif the environmental variableTRV_INTERACTIVEis set to"true"or"yes"or"1"or"on"andTERMcontains"color", orfalseotherwise.- Returns:
{
true,false}