dart-sdk/sdk
Zach Anderson b3093ecee6 [dart:io] Move Platform.ansiSupported to {Stdin,Stdout}.supportsAnsiEscapes
On Windows, some Windows 10 builds support only ANSI output, but not
input, so these need to be separated.

I'm also improving the detection on Mac and Linux to avoid hardcoding
the result. Instead, supportsAnsiEscapes will be true if isatty() and
the TERM environment variable contains the string 'xterm'.

related #28614

R=lrn@google.com

Review-Url: https://codereview.chromium.org/2753233002 .
2017-03-17 12:35:36 -07:00
..
bin Revert "Revert "Reapply "Switch to the new analysis driver in analyzer_cli.""" 2017-02-16 09:43:31 -08:00
lib [dart:io] Move Platform.ansiSupported to {Stdin,Stdout}.supportsAnsiEscapes 2017-03-17 12:35:36 -07:00
api_readme.md fix links in readme 2015-08-20 13:17:34 -07:00