Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Output while spinning #120

@mcshaman

Description

@mcshaman

Is it possible to continue the spinner while still printing to stdout?

I am using node to spin up and down servers and I am trying to get the spinner to persist on the last line while logging... However for every line of ora either overwrites the log line or it freezes, at its current state, writes the log line and then starts another spinner.

I can get around it by wrapping all output statements around a query that checks if the spinner is spinning and if so, stop the spinner, print the line and start the spinner again... However it seems like such a common requirement that I figure there must me a way to do this already?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions