Skip to content

Commit 3c62164

Browse files
committed
Check FullLanguage only
1 parent 69c0f1f commit 3c62164

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/terminal/browser/media/shellIntegration.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if (Test-Path variable:global:__VSCodeOriginalPrompt) {
99
}
1010

1111
# Disable shell integration when the language mode is restricted
12-
if (("RestrictedLanguage", "NoLanguage") -Contains $ExecutionContext.SessionState.LanguageMode) {
12+
if ($ExecutionContext.SessionState.LanguageMode -ne "FullLanguage") {
1313
return;
1414
}
1515

0 commit comments

Comments
 (0)