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

Console output under Windows #54

Open
rchastain opened this issue Jan 22, 2020 · 3 comments · May be fixed by #59
Open

Console output under Windows #54

rchastain opened this issue Jan 22, 2020 · 3 comments · May be fixed by #59
Labels

Comments

@rchastain
Copy link

Hello Vincent!

When I run Little Wing 0.6.0 in the Windows console, the output is corrupted. Please take a look to the file attached. It isn't really a problem (the program works), but it's a pity that the nice output of Little Wing is corrupted.

It is certainly possible to have color in Windows console, but not by the method you use. Maybe you could (as a temporary solution) disable color for Windows?

Regards.

Roland
littlewing-output.txt

@vinc
Copy link
Owner

vinc commented Jan 23, 2020

Hi Roland!

Thanks for reporting the issue, I think it's unfortunately an upstream problem that has been reported here: colored-rs/colored#59

I tried a few things on my side without success. For now I'd suggest typing the command hide colors when entering the program from the command line (see help for a list of commands, and use the TAB key for autocompletion). You could also set the NO_COLOR environment variable in the shell before launching the program if that's an option on Windows. On GNU/Linux I'd do that: NO_COLOR=1 littlewing.

Hopefully it'll be fixed in the next release!

@vinc vinc added the bug label Jan 23, 2020
@rchastain
Copy link
Author

Hello Vincent! Thank you for your answer. I confirm that the trick of the environment variable works also under Windows.
See you soon!

@vinc
Copy link
Owner

vinc commented Jan 24, 2020

Good! I'll keep this issue open until the bug is fixed.

@vinc vinc linked a pull request Jul 2, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants