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

Can't show 2 spinners at the same time #20

Open
Olyno opened this issue Apr 26, 2022 · 2 comments
Open

Can't show 2 spinners at the same time #20

Olyno opened this issue Apr 26, 2022 · 2 comments

Comments

@Olyno
Copy link

Olyno commented Apr 26, 2022

Hi 👋🏻

I'm trying to setup 2 spinners at the same time, but it looks like i can't. My code:

import { createSpinner } from 'nanospinner';

const a = createSpinner('Spinner A').start();
const b = createSpinner('Spinner B').start();
setTimeout(() => {
  a.success();
  b.success();
  process.exit(0);
}, 3000);

Result:

Record_select-area_20220426144326

@usmanyunusov
Copy link
Owner

@Olyno, running two spinners at the same time does not work.

@Olyno
Copy link
Author

Olyno commented Apr 26, 2022

I understand that, but wouldn't it be possible to correct/improve that so that you can display several spinners at the same time. I had created the issue for this purpose

@usmanyunusov usmanyunusov reopened this Apr 26, 2022
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

No branches or pull requests

2 participants