tint

Function tint 

Source
fn tint(text: &str, field: Field, color: bool) -> String
Expand description

Wrap text in this field’s color, or return it unchanged when the output is not colorized.