Skip to content

Commit

Permalink
backs out using _isWindowsTerminal for truecolor check
Browse files Browse the repository at this point in the history
  • Loading branch information
tig committed Aug 17, 2023
1 parent 6eceddd commit 82b1dfb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 25 deletions.
2 changes: 1 addition & 1 deletion Terminal.Gui/ConsoleDrivers/WindowsDriver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ internal class WindowsDriver : ConsoleDriver {

public WindowsConsole WinConsole { get; private set; }

public override bool SupportsTrueColor => RunningUnitTests || (_isWindowsTerminal && Environment.OSVersion.Version.Build >= 14931);
public override bool SupportsTrueColor => RunningUnitTests || (Environment.OSVersion.Version.Build >= 14931);

public override bool Force16Colors {
get => base.Force16Colors;
Expand Down
23 changes: 0 additions & 23 deletions UICatalog/.editorconfig

This file was deleted.

5 changes: 4 additions & 1 deletion UICatalog/Properties/launchSettings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{
"profiles": {
"UICatalog": {
"commandName": "Project"
"commandName": "Project",
"environmentVariables": {
"WT_SESSION": "1"
}
},
"WSL : UICatalog": {
"commandName": "Executable",
Expand Down

0 comments on commit 82b1dfb

Please sign in to comment.