File tree Expand file tree Collapse file tree 4 files changed +7
-4
lines changed
lib/src/application/components Expand file tree Collapse file tree 4 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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-
Original file line number Diff line number Diff 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 ]);
Original file line number Diff line number Diff line change 11name : commander_ui
22description : Commander is a Dart library for creating user interfaces within the terminal.
3- version : 2.1 .0
3+ version : 2.2 .0
44repository : https://github.com/LeadcodeDev/commander
55
66topics :
You can’t perform that action at this time.
0 commit comments