Skip to content

Commit

Permalink
deploy: prepare deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
LeadcodeDev committed Oct 22, 2024
1 parent 5cbfd94 commit 4c6d6e6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 2.2.0
- Add `select` display handler
- Fix bad FutureOr execution

## 2.1.0
- Add missing exports
- Change `ask` return type for an generic to allow nullable value
Expand Down
2 changes: 0 additions & 2 deletions lib/src/application/components/ask.dart
Original file line number Diff line number Diff line change
Expand Up @@ -158,5 +158,3 @@ final class Ask<T> with TerminalTools implements Component<Future<T>> {
_completer.complete(response as T);
}
}


3 changes: 2 additions & 1 deletion lib/src/application/components/select.dart
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,8 @@ final class Select<T> with TerminalTools implements Component<Future<T>> {
SetStyles.reset,
Print(' $_message '),
SetStyles(Style.foreground(Color.brightBlack)),
Print(_onDisplay?.call(_selectedOption as T) ?? _selectedOption.toString()),
Print(
_onDisplay?.call(_selectedOption as T) ?? _selectedOption.toString()),
SetStyles.reset,
AsciiControl.lineFeed,
]);
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: commander_ui
description: Commander is a Dart library for creating user interfaces within the terminal.
version: 2.1.0
version: 2.2.0
repository: https://github.com/LeadcodeDev/commander

topics:
Expand Down

0 comments on commit 4c6d6e6

Please sign in to comment.