Skip to content

Whirly emits multiple new lines #6

Description

@roscom

When Whirly.status > a certain length, it emits new lines continuously, whilst displaying the status at the right location.

Colorize is used to add color to the status line content.

The line defined?(Paint) yields "constant" in lib/whirly.rb; so it is defined. But the gem paint is not "required".

Even when required, it makes no difference.

With color sequences in the status value, its hard to know the actual length of the status line.

It looks like one new line is emitted for each refresh of the spinner (at whatever rate that occurs) when the length of the status line exceeds a certain length.

The Whirly config contained in initializers/whily.rb

Whirly.configure spinner: "bars", position: "normal", append_newline: false, remove_after_stop: true, status: 'patience please...'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions