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,