Skip to content

Commit bb7656b

Browse files
Send shell integration setting to server (#4271)
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.
1 parent 22bd44a commit bb7656b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/session.ts

+1
Original file line numberDiff line numberDiff line change
@@ -635,6 +635,7 @@ Type 'help' to get help.
635635
initializationOptions: {
636636
enableProfileLoading: this.sessionSettings.enableProfileLoading,
637637
initialWorkingDirectory: this.sessionSettings.cwd,
638+
shellIntegrationEnabled: vscode.workspace.getConfiguration("terminal.integrated.shellIntegration").get<boolean>("enabled"),
638639
},
639640
errorHandler: {
640641
// Override the default error handler to prevent it from

0 commit comments

Comments
 (0)