Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

Don't use console color with CoreCLR on Linux/Darwin #1708

Closed
ChengTian opened this issue Apr 24, 2015 · 2 comments
Closed

Don't use console color with CoreCLR on Linux/Darwin #1708

ChengTian opened this issue Apr 24, 2015 · 2 comments
Assignees
Milestone

Comments

@ChengTian
Copy link
Contributor

Because CoreCLR temporarily doesn't support console color on those platforms.

We should bring tests back on those platforms when this issue is done: 7b29720

@ChengTian ChengTian added the bug label Apr 24, 2015
@ChengTian ChengTian self-assigned this Apr 24, 2015
@ChengTian ChengTian added this to the 1.0.0-beta5 milestone Apr 24, 2015
@davidfowl
Copy link
Member

/cc @ellismg

@ellismg
Copy link
Contributor

ellismg commented Apr 24, 2015

There's no way to get the current foreground or background color of the terminal in *Nix. We are hesitant to try to lie because given the default settings for different terminals, there's no good initial value we can use.

Changing the color and resetting both work, it's just getting the current color that throws PlatformNotSupported exception. I do not expect this will change.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants