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

feat: Add clear method to MultiSpinner fix #35 #36

Merged

Conversation

Arteiii
Copy link
Owner

@Arteiii Arteiii commented Jun 27, 2024

  • Introduced the clear method to set the number of rows to clear in the terminal before starting the animation
  • The method accepts an Option<u16>, allowing for optional specification of rows to clear
  • If None is passed, no clearing is performed, which might result in overwriting old content
  • Updated documentation

@Arteiii Arteiii linked an issue Jun 27, 2024 that may be closed by this pull request
Copy link

github-actions bot commented Jun 27, 2024

Test Results

195 tests   163 ✅  0s ⏱️
  2 suites    1 💤
  1 files     31 ❌

For more details on these failures, see this check.

Results for commit 6ca7b29.

♻️ This comment has been updated with latest results.

@Arteiii Arteiii merged commit 99773cc into main Jun 28, 2024
5 of 7 checks passed
@Arteiii Arteiii deleted the 35-spinners-overwrite-several-lines-of-existing-terminal-output branch June 28, 2024 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Spinners overwrite several lines of existing terminal output
1 participant