• 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
Name
Last commit
Last update
.github Loading commit data...
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
packages Loading commit data...
.cirrus.yml Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
analysis_options.yaml Loading commit data...
appveyor.yml Loading commit data...
flutter_console.bat Loading commit data...