From 7be33ebf936ce541148f349f4d22163fc80a7dc9 Mon Sep 17 00:00:00 2001 From: Kartik Raj Date: Tue, 13 Feb 2024 20:23:31 +0530 Subject: [PATCH] Add more shell integration sequences to check for (#22911) Based on discussion with Daniel For #22440 --- .../envCollectionActivation/shellIntegrationService.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/client/terminals/envCollectionActivation/shellIntegrationService.ts b/src/client/terminals/envCollectionActivation/shellIntegrationService.ts index 03b7d25de986..cba2ccbc6867 100644 --- a/src/client/terminals/envCollectionActivation/shellIntegrationService.ts +++ b/src/client/terminals/envCollectionActivation/shellIntegrationService.ts @@ -57,7 +57,8 @@ export class ShellIntegrationService implements IShellIntegrationService { } this.appShell.onDidWriteTerminalData( (e) => { - if (e.data.includes('\x1b]633;A\x07')) { + traceVerbose(e.data); // Log this temporarily for analysis + if (e.data.includes('\x1b]633;A\x07') || e.data.includes('\x1b]133;A\x07')) { let { shell } = this.appEnvironment; if ('shellPath' in e.terminal.creationOptions && e.terminal.creationOptions.shellPath) { shell = e.terminal.creationOptions.shellPath;