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

TrueColor is no longer working on WindowsDriver #3164

Closed
tig opened this issue Jan 13, 2024 · 4 comments
Closed

TrueColor is no longer working on WindowsDriver #3164

tig opened this issue Jan 13, 2024 · 4 comments
Labels
bug v2 For discussions, issues, etc... relavant for v2

Comments

@tig
Copy link
Collaborator

tig commented Jan 13, 2024

I probably broke this. Sigh.

@tig tig added bug v2 For discussions, issues, etc... relavant for v2 labels Jan 13, 2024
@BDisp
Copy link
Collaborator

BDisp commented Jan 13, 2024

I already saw that. My workaround was this:

		_isWindowsTerminal = Environment.GetEnvironmentVariable ("WT_SESSION") != null ||
			Environment.GetEnvironmentVariable ("VSAPPIDNAME") != null;

@dodexahedron
Copy link
Collaborator

dodexahedron commented Jan 14, 2024

Can't just check OS platform instead?

OperatingSystem.IsWindows ( )

@tig
Copy link
Collaborator Author

tig commented Jan 14, 2024

Can't just check OS platform instead?

OperatingSystem.IsWindows ( )

Nope. Windows Terminal != conhost etc... We've spent a LOT of effort on this and still don't have it right (and the sands below us are moving)...

To name a few...

@tig
Copy link
Collaborator Author

tig commented Jan 14, 2024

Can't just check OS platform instead?

OperatingSystem.IsWindows ( )

Nope. Windows Terminal != conhost etc... We've spent a LOT of effort on this and still don't have it right (and the sands below us are moving)...

To name a few...

I have ideas of how to be far more graceful about this in

@tig tig closed this as completed Jan 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug v2 For discussions, issues, etc... relavant for v2
Projects
No open projects
Status: ✅ Done
Development

No branches or pull requests

3 participants