neoansi 0.3.2+1 copy "neoansi: ^0.3.2+1" to clipboard
neoansi: ^0.3.2+1 copied to clipboard

ANSI escape sequences and styling micro-library written in fluent/modern Dart.

example/example.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('!');
}
1
likes
160
pub points
37%
popularity

Publisher

verified publisherneodart.dev

ANSI escape sequences and styling micro-library written in fluent/modern Dart.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

meta, neocolor

More

Packages that depend on neoansi