-
Notifications
You must be signed in to change notification settings - Fork 30
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
Why don't I get any colored text on windows #4
Comments
Could you please paste your code and elaborate on the environment you use (which terminal, etc) |
@caizixian I am using cmd.exe on Windows 7, just some test code in the python shell.
|
cmd.exe of Windows 7 doesn't support ANSI escape sequences. This topic on superuser might helps if you want these be intepreted by cmd.exe natively http://superuser.com/questions/413073/windows-console-with-ansi-colors-handling/ So pure crayons might not works under cmd.exe of Windows 7. However according to the documentation of colorama
Yes, calling @kennethreitz any idea on this? |
This was fixed with #12. |
I have to use colorama to "init" before using crayons to output some colored text on windows, otherwise the console just output some ANSI code, without any color.
The text was updated successfully, but these errors were encountered: