From 7beee049d0c2e2c92854476e140eaca3b7a33c48 Mon Sep 17 00:00:00 2001 From: Rob Lourens Date: Tue, 27 Oct 2020 12:33:46 -0700 Subject: [PATCH] Also check "enableTerminalReconnection" when creating terminal --- .../workbench/contrib/terminal/browser/remoteTerminalService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/contrib/terminal/browser/remoteTerminalService.ts b/src/vs/workbench/contrib/terminal/browser/remoteTerminalService.ts index a6eb19effac3f..c5ae6ecd2f5c9 100644 --- a/src/vs/workbench/contrib/terminal/browser/remoteTerminalService.ts +++ b/src/vs/workbench/contrib/terminal/browser/remoteTerminalService.ts @@ -137,7 +137,7 @@ export class RemoteTerminalProcess extends Disposable implements ITerminalChildP const result = await this._remoteTerminalChannel.createTerminalProcess( shellLaunchConfigDto, this._activeWorkspaceRootUri, - !this._shellLaunchConfig.isFeatureTerminal, + !this._shellLaunchConfig.isFeatureTerminal && this._configHelper.config.enableTerminalReconnection, this._cols, this._rows, isWorkspaceShellAllowed,