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

Allow for terminal colours to be applied to progress characters #38

Open
devnought opened this issue Dec 6, 2016 · 0 comments
Open

Comments

@devnought
Copy link

devnought commented Dec 6, 2016

I'm trying to colour the progress format characters using the ansi_term crate. Consider the following format:

[=>_]

If the equals sign is to be red and bolded, at least on the Windows platform the format string becomes:

[\u{1b}[1;31m=\u{1b}[0m>_]

This sort of format string is not compatible with the current library.

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

1 participant