Mike Seplowitz 4fa72a066a
Improve control over ANSI output (#6858)
* Move global console_handler into function scope

Signed-off-by: Mike Seplowitz <mseplowitz@bloomberg.net>

* Improve control over ANSI output

- Disabled parallel logger ANSI output if not attached to a tty.
  The console handler and progress stream already checked whether the
  output stream is a tty, but ParallelStreamWriter did not.

- Added --ansi=(never|always|auto) option to allow clearer control over
  ANSI output. Since --no-ansi is the same as --ansi=never, --no-ansi is
  now deprecated.

Signed-off-by: Mike Seplowitz <mseplowitz@bloomberg.net>
2021-01-19 18:17:55 +01:00
..
2021-01-04 15:16:51 -03:00
2020-08-21 19:25:24 +02:00
2020-06-03 17:37:47 +02:00
2020-06-03 17:37:47 +02:00
2020-09-24 14:49:26 +02:00
2020-08-11 17:45:13 +07:00
2020-06-03 17:37:47 +02:00
2020-08-11 17:45:13 +07:00
2020-08-11 17:45:13 +07:00