clicolors-control icon indicating copy to clipboard operation
clicolors-control copied to clipboard

Rust library for controlling CLI colors

Results 6 clicolors-control issues
Sort by recently updated
recently updated
newest added

The traditional/normal way to switch of colours is to set the environment variable NO_COLOR=1 (cf. https://no-color.org/) - would be nice if this library would support this industry standard.

I am not sure if I broke something, because there are no tests and CI.

Submitted the same issue in mitsuhiko/console#47, but clicolors-control is upstream and experiences it to. So the issue is probably to be fixed here. As mentioned in the other issue, running...

I wonder if color support detection can be improved? Perhaps there would be a more robust method than using `libc::isatty` (which, if I'm reading it right, would be https://github.com/mitsuhiko/clicolors-control/blob/master/src/unix.rs#L5)? Being...