neoansi 0.3.1 neoansi: ^0.3.1 copied to clipboard
ANSI escape sequences and styling micro-library written in fluent/modern Dart.
import 'dart:io';
import 'package:neoansi/neoansi.dart';
void main() {
AnsiWriter.from(stdout)
..setForegroundColor1(Ansi1BitColor.red)
..write('Hello ')
..setForegroundColor1(Ansi1BitColor.green)
..setUnderlined()
..write('World')
..resetStyles()
..writeln('!');
}