File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
lib/src/application/components Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change
1
+ # 2.2.2
2
+ - Remove ` createSpace ` method in ` ask ` component
3
+
1
4
# 2.2.1
2
5
- The ask component disappeared after the validation stage
3
6
- Calling ` createSpace ` method in all rendering cases for ` ask ` component
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ final class Ask<T> with TerminalTools implements Component<Future<T>> {
43
43
44
44
@override
45
45
Future <T > handle () {
46
+ createSpace (_terminal, 1 );
46
47
saveCursorPosition ();
47
48
48
49
_defaultRendering ();
@@ -85,7 +86,6 @@ final class Ask<T> with TerminalTools implements Component<Future<T>> {
85
86
SetStyles (Style .foreground (Color .brightBlack)),
86
87
]);
87
88
88
- createSpace (_terminal, 1 );
89
89
stdout.write (buffer.toString ());
90
90
}
91
91
@@ -114,7 +114,6 @@ final class Ask<T> with TerminalTools implements Component<Future<T>> {
114
114
SetStyles .reset,
115
115
]);
116
116
117
- createSpace (_terminal, 2 );
118
117
stdout.write (buffer.toString ());
119
118
120
119
stdout.writeAnsiAll ([
@@ -146,7 +145,7 @@ final class Ask<T> with TerminalTools implements Component<Future<T>> {
146
145
SetStyles .reset,
147
146
AsciiControl .lineFeed,
148
147
]);
149
- createSpace (_terminal, 1 );
148
+
150
149
stdout.write (buffer.toString ());
151
150
152
151
_completer.complete (response as T );
Original file line number Diff line number Diff line change 1
1
name : commander_ui
2
2
description : Commander is a Dart library for creating user interfaces within the terminal.
3
- version : 2.2.1
3
+ version : 2.2.2
4
4
repository : https://github.com/LeadcodeDev/commander
5
5
6
6
topics :
You can’t perform that action at this time.
0 commit comments