Merged
Changes from all commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Failed to load files.
Original file line numberDiff line numberDiff line change
Expand Up@@ -663,7 +663,11 @@ private Task EnableShellIntegrationAsync(CancellationToken cancellationToken)
}

# Set IsWindows property
Write-Host -NoNewLine ""$([char]0x1b)]633;P;IsWindows=$($IsWindows)`a""
if ($PSVersionTable.PSVersion -lt ""6.0"") {
[Console]::Write(""$([char]0x1b)]633;P;IsWindows=$true`a"")
} else {
[Console]::Write(""$([char]0x1b)]633;P;IsWindows=$IsWindows`a"")
}

# Set always on key handlers which map to default VS Code keybindings
function Set-MappedKeyHandler {
Expand Down