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

Whirly emits multiple new lines #6

Open
roscom opened this issue Oct 27, 2019 · 1 comment
Open

Whirly emits multiple new lines #6

roscom opened this issue Oct 27, 2019 · 1 comment
Labels

Comments

@roscom
Copy link

roscom commented Oct 27, 2019

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...'

@janlelis janlelis added the bug label Sep 29, 2022
@janlelis
Copy link
Owner

Thank you for reporting this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants