whirly
whirly copied to clipboard
Whirly emits multiple new lines
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...'
Thank you for reporting this!