From 62277db885fb06fdd1bf794cfe27dd3906323797 Mon Sep 17 00:00:00 2001 From: Andy Jordan Date: Thu, 17 Nov 2022 15:26:07 -0800 Subject: [PATCH] Send shell integration setting to server Ideally the server should just be able to query it, but OmniSharp's `getConfiguration` is a bit cryptic, and this was a surefire way to do the same thing without having to figure that out. --- src/session.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/session.ts b/src/session.ts index 1f1b05efa1..6d58615e15 100644 --- a/src/session.ts +++ b/src/session.ts @@ -635,6 +635,7 @@ Type 'help' to get help. initializationOptions: { enableProfileLoading: this.sessionSettings.enableProfileLoading, initialWorkingDirectory: this.sessionSettings.cwd, + shellIntegrationEnabled: vscode.workspace.getConfiguration("terminal.integrated.shellIntegration").get("enabled"), }, errorHandler: { // Override the default error handler to prevent it from