bash_loading_animations
bash_loading_animations copied to clipboard
The animation gets wrapped up with words "echo/read" command
I've cloned your repo as instructed. But when i run the script below, the animation gets wrapped up with letters (see in video)
I want the animation to always work until the end of script and without wrapping with any letters/words.
#!/usr/bin/env bash
source ~/Desktop/david/bash_loading_animations/bash_loading_animations.sh
trap BLA::stop_loading_animation SIGINT
BLA::start_loading_animation "${BLA_braille_whitespace[@]}"
echo -ne "Write something: "
read sth
echo "You have written: $sth "
BLA::stop_loading_animation
https://user-images.githubusercontent.com/84121715/179161886-b1774de3-af64-4949-b401-9e900968fe19.mp4
This is out of range of the project for now as it would require a lot of work to make it function properly. You can take a look at this repo which has a persistent progress bar. If you wish to implement it, though, feel free to open a pull request.