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 coloring is not working in Windows 7 #2

Closed
zoumi opened this issue Sep 6, 2017 · 2 comments
Closed

Console coloring is not working in Windows 7 #2

zoumi opened this issue Sep 6, 2017 · 2 comments
Labels

Comments

@zoumi
Copy link

zoumi commented Sep 6, 2017

My system info:
Microsoft Windows 7 Ultimate 64bit

Rust info:
nightly-i686-pc-windows-gnu (default)
rustc 1.21.0-nightly (f774bced5 2017-08-12)

Cargo.toml:
yansi = "0.3.3"

main.rs:
Paint::enable_windows_ascii();
print!("{} light, {} light!",
Paint::green("Green"),
Paint::red("red").underline());

console output:

vhh

@zoumi
Copy link
Author

zoumi commented Sep 6, 2017

Is similar with:
rwf2/Rocket#363

@SergioBenitez
Copy link
Owner

As mentioned in the documentation, Windows only supports ASCII coloring on versions beginning with the Windows 10 anniversary update. This does not include Windows 7. There are no plans for this library to support console coloring on versions before the Windows 10 anniversary update.

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