click-spinner icon indicating copy to clipboard operation
click-spinner copied to clipboard

Leave a clear line after spinner is stopped

Open sbogomolov opened this issue 3 years ago • 0 comments

Currently after spinner is stopped it might leave behind the last symbol that was printed. This happens because '\b' is non-destructive in many terminal emulators. If '\n' is printed after spinner is done - the last printed symbol will remain printed (instead of an empty line). This happens because '\n' also happens to be non-destructive.

VS Code is one example of such terminal emulator.

sbogomolov avatar Jun 15 '21 16:06 sbogomolov