crossterm-rs / crossterm

Cross platform terminal library rust
MIT License
3.28k stars 281 forks source link

Add style::force_color_output() API to override NO_COLOR. #802

Closed kevin-vigor closed 1 year ago

kevin-vigor commented 1 year ago

As per comments by @Piturnah in https://github.com/crossterm-rs/crossterm/pull/782#issuecomment-1654742215 we should provide an API to override the NO_COLOR setting.

Piturnah commented 1 year ago

Thank you for implementing this fix 😁