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

Skip to content

Possible to use ora when logging things after the first initiation of a spinner? #49

@aetheryx

Description

@aetheryx

If I initiate a spinner, console.log something after initiating it, and then end the spinner, it prints on a new line.
Example:

const ora = require('ora');
const spinner = ora();
spinner.start('initialized spinner');

console.log('\nsomething else');

setTimeout(() => {
    spinner.succeed('ended spinner');
}, 3500);

How it ends up: http://i.imgur.com/ok6zSKZ.png
How I want it to end up: http://i.imgur.com/aBeERi0.png

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