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

Wierd print on windows terminal #166

Open
Rxann opened this issue Oct 29, 2021 · 1 comment
Open

Wierd print on windows terminal #166

Rxann opened this issue Oct 29, 2021 · 1 comment
Labels

Comments

@Rxann
Copy link

Rxann commented Oct 29, 2021

When i use the yaspin function, on the pure windows terminal I get ⠦←[0m Loading...←[K←[?25h instead of a loading spinner.

@pavdmyt
Copy link
Owner

pavdmyt commented Nov 1, 2021

That's because Windows support is not implemented yet. For this particular problem, yaspin uses terminal control sequences which are not compatible with Windows.

Here is one way to solve it: https://github.com/sarugaku/vistir/blob/master/src/vistir/cursor.py
More on Windows support in yaspin: #33

@pavdmyt pavdmyt added the windows label Nov 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants