ANSISGRColorSpec.traditional constructor

ANSISGRColorSpec.traditional(
  1. int color
)

Implementation

factory ANSISGRColorSpec.traditional(int color) => ANSISGRColorSpec._(
      foregroundAnsiCommand: ANSISGRCommand.foregroundColor(color),
      backgroundAnsiCommand: ANSISGRCommand.backgroundColor(color),
    );