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
..
2022-03-18 12:29:54 +00:00
2022-03-18 12:29:54 +00:00
2022-10-21 15:06:08 +01:00
2021-11-01 15:45:40 +00:00
2022-07-09 18:09:25 +01:00
2021-11-01 15:45:40 +00:00
2021-02-02 14:17:09 +00:00
2022-10-21 15:06:08 +01:00
2022-07-09 18:09:25 +01:00
2022-10-21 15:06:08 +01:00
2022-07-09 18:09:25 +01:00
2022-10-21 15:06:08 +01:00
2021-11-01 15:45:40 +00:00
2021-02-02 14:17:09 +00:00
2021-02-02 14:17:09 +00:00
2022-03-18 12:29:54 +00:00
2021-11-01 15:45:40 +00:00
2021-02-02 14:17:09 +00:00
2021-02-02 14:17:09 +00:00
2022-10-21 15:06:08 +01:00
2021-11-01 15:45:40 +00:00
2022-07-09 18:09:25 +01:00
2022-07-09 18:09:25 +01:00
2022-07-09 18:09:25 +01:00
2022-07-09 18:09:25 +01:00
2022-07-09 18:09:25 +01:00
2022-07-09 18:09:25 +01:00
2022-07-09 18:09:25 +01:00
2021-02-02 14:17:09 +00:00
2021-02-02 14:17:09 +00:00
2021-02-02 14:17:09 +00:00
2022-07-09 18:09:25 +01:00
2022-10-21 15:06:08 +01:00
2022-07-09 18:09:25 +01:00
2022-10-21 15:06:08 +01:00
2022-10-21 15:06:08 +01:00
2022-10-21 15:06:08 +01:00
2022-10-21 15:06:08 +01:00
2022-10-21 15:06:08 +01:00
2022-10-21 15:06:08 +01:00
2021-02-02 14:17:09 +00:00
2022-10-21 15:06:08 +01:00
2022-07-09 18:09:25 +01:00
2022-07-09 18:09:25 +01:00
2022-10-21 15:06:08 +01:00
2022-07-09 18:09:25 +01:00
2022-07-09 18:09:25 +01:00
2022-07-09 18:09:25 +01:00
2022-07-09 18:09:25 +01:00
2022-07-09 18:09:25 +01:00
2022-07-09 18:09:25 +01:00
2021-11-01 15:45:40 +00:00
2022-10-21 15:06:08 +01:00
2022-07-09 18:09:25 +01:00
2022-07-09 18:09:25 +01:00
2022-10-21 15:06:08 +01:00
2022-10-21 15:06:08 +01:00
2022-10-21 15:06:08 +01:00
2022-07-09 18:09:25 +01:00
2022-10-21 15:06:08 +01:00
2022-07-09 18:09:25 +01:00
2022-10-21 15:06:08 +01:00
2021-11-01 15:45:40 +00:00
2021-03-31 19:12:08 +01:00
2021-11-01 15:45:40 +00:00
2022-07-09 18:09:25 +01:00
2022-07-09 18:09:25 +01:00
2021-03-31 19:12:08 +01:00
2022-07-09 18:09:25 +01:00
2021-11-01 15:45:40 +00:00
2021-11-01 15:45:40 +00:00
2022-10-21 15:06:08 +01:00