-
Notifications
You must be signed in to change notification settings - Fork 9
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
Special formatting characters rendered as text in Windows Powershell and CMD #68
Comments
Oh, hi. Very thanks for your report. I'm sorry that I haven't make fully tests on I will try to figure out how to deal with this in a better way :) There are 2 ways to handle this:
|
I dunno if we can use a custom crate to colorize but this crate does that well: https://github.com/BurntSushi/termcolor |
I'll take a look this week, since I have both PS and CMD at hand. For now there's always the |
@FuSoftware You can try to make use of windows terminal which support colorize feature. For |
OS : Windows 10 using
cmd.exe
andpowershell
Upon trying your tool, it seems like the character encoding used to, I guess, color the lines, or at least add some text encoding, produces strange characters when used on Powershell and Windows CMD.
I suppose these are the special chracters used for the color formatting. I'm curious if it's possible, in the source code, to do automatic terminal detections to disable them when not on a compatible terminal.
And yes, I know about the
-r
option, which I use, it's just that a Windows user not being aware of it might be surprisedThe text was updated successfully, but these errors were encountered: