sindresorhus / ora

Elegant terminal spinner
MIT License
9.05k stars 269 forks source link

blink in vscode integratedTerminal #221

Open WakerCN opened 1 year ago

WakerCN commented 1 year ago

code: spinner.js

const ora = require('ora');
const spinners = require('cli-spinners');

const spinner = ora({
  text: 'loading ...'
});

spinner.spinner = spinners.timeTravel;

spinner.start();

when I lauch spinner.js in vscode integratedTerminal the text will blink like this blink

when I open the windows terminal to lauch spinner.js, it behave normally, will not blink,like this blink2

so how can i make it not to blink in vscode integratedTerminal ?

sindresorhus commented 1 year ago

Since this only happens in the VS Code terminal, you should open an issue there instead.

laurensV commented 5 months ago

For me its the other way around, works fine in VS code terminal, but not in Windows Terminal, there its blinking just like yours..

Other spinners don't have this problem, just ora