set_background_extended_color method

  1. @override
void set_background_extended_color(
  1. AnsiExtendedColorPalette color
)
override

Sets the background to one of 256 extended ANSI colors.

See https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit for the full set of colors. You may also run examples/demo.dart for this package, which provides a sample of each color in this list.

Implementation

@override
void set_background_extended_color(
  final AnsiExtendedColorPalette color,
) {
  stdout.write(
    ansi_set_extended_background_color(
      color,
    ),
  );
}