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

Multi spinner and logs #390

Closed
psihachina opened this issue Aug 19, 2022 · 4 comments
Closed

Multi spinner and logs #390

psihachina opened this issue Aug 19, 2022 · 4 comments
Labels
proposal Proposal to add a new feature to pterm proposal-accepted Proposals which are accepted for implementation in the future

Comments

@psihachina
Copy link

Hi,

We use your library in our project and we really like it. But some things we have to replace, such as multi spinner and logs in spinner. Here is an example with logs in the spinner:
asciicast

Are these features possible? Or maybe I can help implement them?

@psihachina psihachina added the proposal Proposal to add a new feature to pterm label Aug 19, 2022
@MarvinJWendt
Copy link
Member

Hi @psihachina, MultiSpinners are a planned feature :)
I can't tell you when we're going to implement this, as we are very bussy currently, sorry for that! I will keep this issue open and notify you, when we know more 😄

@MarvinJWendt MarvinJWendt added the proposal-accepted Proposals which are accepted for implementation in the future label Aug 20, 2022
@psihachina
Copy link
Author

Hi, @MarvinJWendt

What do you think about the operation logs that are displayed under the spinner? In the example I showed

@MarvinJWendt
Copy link
Member

Hi @psihachina, sorry I somehow missed to reply.

You can simply use any print function of pterm, such as pterm.Println(), while a spinner is running. The prints will then be above the spinner. This is somehow like a log and can be used with pterm.Info.Println() etc. to signal the status of steps.

@MarvinJWendt
Copy link
Member

Multi spinner is coming with #544

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal Proposal to add a new feature to pterm proposal-accepted Proposals which are accepted for implementation in the future
Projects
None yet
Development

No branches or pull requests

2 participants