terminalSupportsAnsi property

bool get terminalSupportsAnsi

Implementation

static bool get terminalSupportsAnsi {
  return io.stdout.supportsAnsiEscapes &&
      io.stdioType(io.stdout) == io.StdioType.terminal;
}