Closed ffMathy closed 3 years ago
That's just cmd
being slow. Not much we can do about that. I would recommend switching to Windows Terminal.
How does Docker do it then when showing its progress bar and pulling images?
It doesn't blink at all. Neither does webpack
etc.
It blinks for me in both Windows Terminal and in Git Bash.
I am seeing blinking in Windows Terminal as well, when SSHed into my Ubuntu server:
https://user-images.githubusercontent.com/1009/130723893-b95933fd-e3ef-48fc-ab91-36d289f250a4.mp4
did anyone resolve blink in windows terminal?
const ora = require('ora');
const spinners = require('cli-spinners');
const spinner = ora({
text: 'loading ...'
});
spinner.spinner = spinners.timeTravel;
spinner.start();
While spinning, the whole text (including the spinner itself) blinks on Windows.
Tested in
cmd
.