(json: bool, stdout_terminal: bool, stderr_terminal: bool, dumb: bool)
| 4 | pub(super) struct Thinking(Option<ProgressBar>); |
| 5 | |
| 6 | fn enabled(json: bool, stdout_terminal: bool, stderr_terminal: bool, dumb: bool) -> bool { |
| 7 | !json && stdout_terminal && stderr_terminal && !dumb |
| 8 | } |
| 9 | |
| 10 | impl Thinking { |
| 11 | pub(super) fn start(json: bool) -> Self { |