ansi method

String ansi(
  1. int ansicode
)

Creates String with the foreground color specified by the ansi color escape code. https://en.wikipedia.org/wiki/ANSI_escape_code

Implementation

String ansi(int ansicode) => (_chalk.ansi(ansicode))(this);