backs out using _isWindowsTerminal for truecolor check

This commit is contained in:
Tigger Kindel
2023-08-17 13:04:34 -06:00
parent 6eceddd9c1
commit 82b1dfbfb9
3 changed files with 5 additions and 25 deletions

View File

@@ -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;

View File

@@ -1,23 +0,0 @@
[*.cs]
indent_style = tab
indent_size = 8
tab_width = 8
csharp_new_line_before_open_brace = methods,local_functions
csharp_new_line_before_else = false
csharp_new_line_before_catch = false
csharp_new_line_before_finally = false
end_of_line = crlf
csharp_indent_case_contents = true
csharp_indent_switch_labels = false
csharp_indent_labels = flush_left
csharp_space_after_keywords_in_control_flow_statements = true
csharp_space_between_method_declaration_parameter_list_parentheses = false
csharp_space_between_method_call_parameter_list_parentheses = false
csharp_preserve_single_line_blocks = true
dotnet_style_require_accessibility_modifiers = never
csharp_style_var_when_type_is_apparent = true
csharp_prefer_braces = false
csharp_space_before_open_square_brackets = true
csharp_space_between_method_call_name_and_opening_parenthesis = true
csharp_space_between_method_declaration_name_and_open_parenthesis = true

View File

@@ -1,7 +1,10 @@
{
"profiles": {
"UICatalog": {
"commandName": "Project"
"commandName": "Project",
"environmentVariables": {
"WT_SESSION": "1"
}
},
"WSL : UICatalog": {
"commandName": "Executable",