diff --git a/CHANGELOG.md b/CHANGELOG.md index 49ecbbc..941b33f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 0.1.4 +- Add `Ansi.reversed` getter. + ## 0.1.3+2 - Update Dart SDK constraint to < 3.0.0. diff --git a/lib/cli_logging.dart b/lib/cli_logging.dart index 6254aaf..8b57bf0 100644 --- a/lib/cli_logging.dart +++ b/lib/cli_logging.dart @@ -42,6 +42,8 @@ class Ansi { String get bold => _code('\u001b[1m'); + String get reversed => _code('\u001b[7m'); + String get backspace => '\b'; String get bullet => io.stdout.supportsAnsiEscapes ? '•' : '-'; diff --git a/pubspec.yaml b/pubspec.yaml index 5e06af1..29b3e5f 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: cli_util -version: 0.1.3+2 +version: 0.1.4 author: Dart Team description: A library to help in building Dart command-line apps. homepage: https://github.com/dart-lang/cli_util