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.
2 parents fa4ff15 + 3c62164 commit 78cd55aCopy full SHA for 78cd55a
src/vs/workbench/contrib/terminal/browser/media/shellIntegration.ps1
@@ -8,6 +8,11 @@ if (Test-Path variable:global:__VSCodeOriginalPrompt) {
8
return;
9
}
10
11
+# Disable shell integration when the language mode is restricted
12
+if ($ExecutionContext.SessionState.LanguageMode -ne "FullLanguage") {
13
+ return;
14
+}
15
+
16
$Global:__VSCodeOriginalPrompt = $function:Prompt
17
18
$Global:__LastHistoryId = -1
0 commit comments