File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
sample/src/main/kotlin/com/example Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ import com.github.dylanwatsonsoftware.bobatea.KeyCodes.UP
1313import com.github.dylanwatsonsoftware.bobatea.Boba.Companion.clear
1414import com.github.dylanwatsonsoftware.bobatea.Boba.Companion.getChar
1515import com.github.dylanwatsonsoftware.bobatea.Boba.Companion.nonBlockingTerminal
16+ import com.github.dylanwatsonsoftware.bobatea.LoaderStyle
17+ import com.github.dylanwatsonsoftware.bobatea.LoaderStyle.SMALL_GREEN
1618import com.github.dylanwatsonsoftware.bobatea.LoadingIndicator.Companion.runLoading
1719
1820
@@ -21,7 +23,7 @@ class App {
2123 @JvmStatic
2224 fun main (args : Array <String >) {
2325
24- runLoading(" Loading yo!" ) {
26+ runLoading(" Loading yo!" , SMALL_GREEN ) {
2527 Thread .sleep(10000 )
2628 }
2729 nonBlockingTerminal {
You can’t perform that action at this time.
0 commit comments