• Greg Spencer's avatar
    Added more extensive ANSI color printing support on terminals. (#20958) · 7caa6594
    Greg Spencer authored
    This adds support to AnsiTerminal for colored output, and makes all tool output written to stderr (with the printError function) colored red.
    
    No color codes are sent if the terminal doesn't support color (or isn't a terminal).
    
    Also makes "progress" output print the elapsed time when not connected to a terminal, so that redirected output and terminal output match (redirected output doesn't print the spinner, however).
    
    Addresses #17307
    7caa6594
runner.dart 7.15 KB