Open natebosch opened 6 years ago
This also impacts the shell in emacs, as well as the output from Travis CI, which both support at least the common escape codes like colors but are reported not to.
rxvt-unicode
is another one that is fairly common and has incorrect behavior today.
Note that @sortie added valuable information in this comment: https://github.com/dart-lang/sdk/issues/41770#issuecomment-624033448
On Git Bash echo $TERM
returns xterm-256color
but stdout.supportsAnsiEscapes
returns false
.
Today we assume that anytime
$TERM
contains"xterm"
then it supports ansi escape codes. This means that a default configuration oftmux
orscreen
will not appear to support ansi escapes.It would be nice to get fuller support for reading
terminfo
in Dart scripts. In the short term it would be beneficial to treat"screen"
the same way we treat"xterm"
today