rclone/lib
Kevin Verstaen c2dfc3e5b3
fs: Add global flag '--color' to control terminal colors
* fs: add TerminalColorMode type
* fs: add new config(flags) for TerminalColorMode
* lib/terminal: use TerminalColorMode to determine how to handle colors
* Add documentation for '--terminal-color-mode'
* tree: remove obsolete --color replaced by global --color

This changes the default behaviour of tree. It now displays colors by
default instead of only displaying them when the flag -C/--color was
active. Old behaviour (no color) can be achieved by setting --color to
'never'.

Fixes: #6604
2022-12-06 12:07:06 +00:00
..
atexit build: reformat comments to pass go1.19 vet 2022-08-05 16:35:41 +01:00
bucket build: reformat comments to pass go1.19 vet 2022-08-05 16:35:41 +01:00
buildinfo build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
cache lib/cache: fix alias backend shutting down too soon 2022-11-09 16:29:23 +00:00
daemonize build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
debug rc: Add commands to set GC Percent & Memory Limit (1.19+) 2022-11-10 12:07:18 +00:00
dircache all: fix spelling across the project 2022-08-30 11:16:26 +02:00
encoder Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
env docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
errors build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
exitcode cmd: Move exit status codes to separate package 2021-07-07 17:59:26 +01:00
file Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
http Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
israce build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
jwtutil Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
kv build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
mmap build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
oauthutil build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
pacer build: reformat comments to pass go1.19 vet 2022-08-05 16:35:41 +01:00
plugin Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
pool test: Don't run unreliable tests on CI #4171 2020-06-15 21:34:37 +01:00
random Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
ranges Spelling fixes 2020-10-14 15:21:31 +01:00
readers Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
rest backend/http: support content-range response header 2022-11-08 13:04:17 +00:00
structs staticcheck: ignore deprecations that are not relevant 2022-07-04 11:24:59 +02:00
terminal fs: Add global flag '--color' to control terminal colors 2022-12-06 12:07:06 +00:00
version Fix lint issues reported by staticcheck 2022-06-13 21:13:50 +02:00