Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aprosail/terminal-decorate

Terminal colorization and text style decoration for Dart.
https://github.com/aprosail/terminal-decorate

ansi-color cli color command-line escape-codes style terminal terminal-color terminal-colorized

Last synced: about 2 months ago
JSON representation

Terminal colorization and text style decoration for Dart.

Awesome Lists containing this project

README

        

# Terminal Decorate

Terminal colorization and text style decoration for Dart:
This package is an encapsulation of the terminal escape code,
refer to the standard: `ANSI X3.64`, `ECMA-48`, or `ISO 6429`.
Thanks to Dart's extension mechanism, you can use it like this:

```dart
// Font style decoration.
print('normal ${'italic ${'bold'.bold} italic'.italic} normal');

// Font color decoration.
print('normal ${'red ${'yellow'.yellow} red'.red} normal');
```