gradient_string

Function gradient_string 

Source
pub fn gradient_string(text: &str, gradient: &Gradient) -> String
Expand description

Apply a gradient to a string for CLI output.

Returns a string with ANSI escape codes for each character.