-
Notifications
You must be signed in to change notification settings - Fork 1
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
Colour support and winpty redirection broken #285
Comments
Interestingly enough, when building a Debug build in Rider (on Windows), I get this: In other words:
Either way, we need to figure out why these release-oriented builds work differently than the locally built Debug/Release builds. |
This could be a variation of rprichard/winpty#140 we're seeing. I'll ask a question there to see if anyone has any ideas. |
Hmm, interesting. I was using a slightly older version Git for Windows, where the provided MSYS2 version was too old ( After upgrading to a more recent version of Git for Windows, it worked flawlessly with the existing Perlang version. No changes were required (but we can probably drop the WinPTY re-execution call now since there's little need for it anymore): Important things to noticeConPTY support is not enabled in the "Bash Git" included in Git for Windows by default. It must be enabled either by setting the |
For some odd reason, colours still doesn't work entirely correct when Git Bash is executed in the new, cool Windows Terminal. I think I'll leave this as a "known glitch" for now. 🤷♂️ |
Could be some variation of git-for-windows/git#2483, will ask in that repo to see if anyone has any ideas. 🤔 |
No response yet [correction: I got some suggestions but none that helped]. I'll leave this as a "known defect" in 0.1.0 for now, bumping this to 0.2.0. It would be nice to at least have a workaround for |
Still an open issue, to the best of my knowledge. Bumping to 0.3.0. |
Still an open issue. I don't think this should block 0.3.0 though, so bumping once again. |
Interestingly enough, with the changes coming in #389, this is no longer the case - colours do work in the Windows Terminal: ...however, digging deeper, I tested with another build (893c5be), and it works equally well. 🤔 I tested with 0.3.0 (i.e. e8c28e2) and it also worked equally well. 🤷 I guess we can consider this fixed then. Since it's unclear whether this is really:
...I think we'll leave this out of the release notes for now. Regardless, closing issue. |
This is a followup to #284 (comment).
Background
The installation experience on Windows has historically been a bit lacking; see #107 for more details. I fixed this in #278, or so I thought.
After adding ANSI colors in #284, I tested the new version on Windows - only to realize that ANSI colors did not work as expected:
I also found out that in Git Bash (i.e. mingw-based
bash
on Windows), the fix I did in #278 does not work. Do note how the ANSI colors work in this case, though:This issue exists to dig further into this and try to understand why this happens, and find a mitigation.
The text was updated successfully, but these errors were encountered: