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

[Bug] Spinner message overflowing to the next line causes duplication #237

Open
aliasghar98 opened this issue Feb 24, 2025 · 0 comments
Open
Labels
bug Something isn't working

Comments

@aliasghar98
Copy link

Environment

  • OS: Windows
  • Node Version: v18.20.4
  • Package: @clack/prompts
  • Package Version: 0.8.2

Describe the bug
If the length of a message displayed using spinner (start) is as long as the terminal window, where the loading dots i.e. ... overflow to the next line in the terminal, it causes message to be duplicated while the spinner is running.

To Reproduce

Image

Steps to reproduce the behavior:

  • Use spinner.start() with a message as long as the terminal window.
  • See the overflow.

Expected behavior
Should overflow to the next line without any duplication.

@aliasghar98 aliasghar98 added the bug Something isn't working label Feb 24, 2025
@github-project-automation github-project-automation bot moved this to Needs triage in Triage Board Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Needs triage
Development

No branches or pull requests

1 participant