Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The animation gets wrapped up with words "echo/read" command #4

Open
ghost opened this issue Jul 15, 2022 · 1 comment
Open

The animation gets wrapped up with words "echo/read" command #4

ghost opened this issue Jul 15, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@ghost
Copy link

ghost commented Jul 15, 2022

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
bash.animation.bug.mp4
@Silejonu
Copy link
Owner

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.

@Silejonu Silejonu added the enhancement New feature or request label Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant