Skip to content
This repository was archived by the owner on Nov 1, 2024. It is now read-only.

Commit 94889b7

Browse files
Add Ansi.reversed getter, and prepare to publish version 0.1.4. (#39)
1 parent c9af735 commit 94889b7

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 0.1.4
2+
- Add `Ansi.reversed` getter.
3+
14
## 0.1.3+2
25
- Update Dart SDK constraint to < 3.0.0.
36

lib/cli_logging.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ class Ansi {
4242

4343
String get bold => _code('\u001b[1m');
4444

45+
String get reversed => _code('\u001b[7m');
46+
4547
String get backspace => '\b';
4648

4749
String get bullet => io.stdout.supportsAnsiEscapes ? '•' : '-';

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: cli_util
2-
version: 0.1.3+2
2+
version: 0.1.4
33
author: Dart Team <[email protected]>
44
description: A library to help in building Dart command-line apps.
55
homepage: https://github.com/dart-lang/cli_util

0 commit comments

Comments
 (0)