Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blink in vscode integratedTerminal #221

Open
WakerCN opened this issue Mar 14, 2023 · 2 comments
Open

blink in vscode integratedTerminal #221

WakerCN opened this issue Mar 14, 2023 · 2 comments

Comments

@WakerCN
Copy link

WakerCN commented Mar 14, 2023

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
Copy link
Owner

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

@laurensV
Copy link

laurensV commented Feb 29, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants