progress icon indicating copy to clipboard operation
progress copied to clipboard

Spinner output not cleared after completion.

Open Soulsbane opened this issue 8 years ago • 2 comments

Perhaps I'm just missing something but calling spinner_.finish(); the output of the spinner is still displayed with the message/last tick. Is there a way to clear this? Example:

Loading
source-keephdalive-locations.lst => 79% source-keephdalive-writer.lst No Coverage!

Coverage over 2 files: 39%

I want the Loading \ line cleared so it does not appear in subsequent output. Other than that this is a great module! Thanks!

Soulsbane avatar Nov 27 '17 00:11 Soulsbane

For now, there is no way to clear a message. I'll add an option to clear it as enum such as FinishBehavior (like a std.algorithm : SwapStrategy). I have no confidence about naming. Please let me know if you have any idea :)

kotet avatar Nov 27 '17 12:11 kotet

No problem! That sounds fine to me. I'm rather bad at naming things myself.

Soulsbane avatar Nov 27 '17 19:11 Soulsbane