diff --git a/coloring/short_list.nu b/coloring/short_list.nu index 5205254..15085dd 100644 --- a/coloring/short_list.nu +++ b/coloring/short_list.nu @@ -1,4 +1,4 @@ -source nu_style.nu +source ../stdlib_candidate/nu_style.nu # # Regular Colors echo ' Regular Colors' $(char newline) $(char newline) | str collect diff --git a/progress_bar.nu b/progress_bar.nu index 245b4d6..74d8872 100644 --- a/progress_bar.nu +++ b/progress_bar.nu @@ -45,4 +45,11 @@ echo 1..<$pb_len | each { echo $blocks.7 | str lpad -c $blocks.7 -l $pb_len | autoview echo $(char newline) echo "Done" -echo $(ansi cursor_on) \ No newline at end of file +echo $(ansi cursor_on) + + +# Try to do this in the next version +# Make it a custom command so you can do +# set-progress 33 100 +# and the display look like +# 33% (33/100) [███████████ ] \ No newline at end of file