Skip to content

Commit 4c6d6e6

Browse files
committed
deploy: prepare deployment
1 parent 5cbfd94 commit 4c6d6e6

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 2.2.0
2+
- Add `select` display handler
3+
- Fix bad FutureOr execution
4+
15
## 2.1.0
26
- Add missing exports
37
- Change `ask` return type for an generic to allow nullable value

lib/src/application/components/ask.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,5 +158,3 @@ final class Ask<T> with TerminalTools implements Component<Future<T>> {
158158
_completer.complete(response as T);
159159
}
160160
}
161-
162-

lib/src/application/components/select.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,8 @@ final class Select<T> with TerminalTools implements Component<Future<T>> {
176176
SetStyles.reset,
177177
Print(' $_message '),
178178
SetStyles(Style.foreground(Color.brightBlack)),
179-
Print(_onDisplay?.call(_selectedOption as T) ?? _selectedOption.toString()),
179+
Print(
180+
_onDisplay?.call(_selectedOption as T) ?? _selectedOption.toString()),
180181
SetStyles.reset,
181182
AsciiControl.lineFeed,
182183
]);

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: commander_ui
22
description: Commander is a Dart library for creating user interfaces within the terminal.
3-
version: 2.1.0
3+
version: 2.2.0
44
repository: https://github.com/LeadcodeDev/commander
55

66
topics:

0 commit comments

Comments
 (0)