Commit Graph
4 Commits
Author SHA1 Message Date
AdmiringWormandPatrik Svensson 0b4321115a Add background color examples in Sample console 2020-08-07 08:20:20 +02:00
AdmiringWormandPatrik Svensson 5cd9ece31a Add check for IsDefault when comparing Colors 2020-08-07 08:20:20 +02:00
AdmiringWormandPatrik Svensson b0341862cf Add failing unit test for comparing black and default color 2020-08-07 08:20:20 +02:00
AdmiringWormandPatrik Svensson 2e7b3d520a Update regex to correctly identify Windows 10
When running .NET Core 2.1 or .NET Framework 4.6.1, the used regex for
detecting Windows 10 TrueColor support does not match the OSDescription.
The reason for this is because on those frameworks the description has
trailing whitespaces, but they do not on .NET Core 3.1.
This commit updates the regex to ignore any trailing whitespaces.
2020-08-07 08:11:34 +02:00