We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d58ca6 commit aac6f9cCopy full SHA for aac6f9c
src/vs/workbench/contrib/terminal/browser/media/shellIntegration.ps1
@@ -108,11 +108,12 @@ if (Get-Module -Name PSReadLine) {
108
# OSC 633 ; E ; <CommandLine?> ; <Nonce?> ST
109
$Result = "$([char]0x1b)]633;E;"
110
$Result += $(__VSCode-Escape-Value $CommandLine)
111
+ # Only send the nonce if the OS is not Windows 10 as it seems to echo to the terminal
112
+ # sometimes
113
if ($IsWindows10 -eq $false) {
114
$Result += ";$Nonce"
115
}
116
$Result += "`a"
- [Console]::Write($Result)
117
118
# Command executed
119
# OSC 633 ; C ST
0 commit comments