mirror of
https://github.com/cheat/cheat.git
synced 2024-11-22 05:51:35 +01:00
3afea0972c
- Corrects an error with `--search`. Previously, `--search` was not aware of whether it was outputted to a TTY, and would apply colorization at all times. This resulted in unwanted behavior when, for example, piping search results into a paginator. - Corrects an error with `--color`. Previously, `--color` would be ignored if output was being written to a non-TTY. This made it impossible, for example, to `cheat tar --color | less -R`, as colorization would always be stripped. The behavior of `--color` has been modified such that it now behaves similarly to `--color=always` in other applications. |
||
---|---|---|
.. | ||
color.go | ||
config_test.go | ||
config.go | ||
path.go | ||
validate_test.go | ||
validate.go |