提交 4edcd169 编写于 作者: R Rob Lourens

Rename new terminal setting

上级 5572cbf5
......@@ -137,7 +137,7 @@ export class RemoteTerminalProcess extends Disposable implements ITerminalChildP
const result = await this._remoteTerminalChannel.createTerminalProcess(
shellLaunchConfigDto,
this._activeWorkspaceRootUri,
!this._shellLaunchConfig.isFeatureTerminal && this._configHelper.config.enableTerminalReconnection,
!this._shellLaunchConfig.isFeatureTerminal && this._configHelper.config.enablePersistentSessions,
this._cols,
this._rows,
isWorkspaceShellAllowed,
......
......@@ -347,7 +347,7 @@ export class TerminalService implements ITerminalService {
}
public async initializeTerminals(): Promise<void> {
const enableTerminalReconnection = this.configHelper.config.enableTerminalReconnection;
const enableTerminalReconnection = this.configHelper.config.enablePersistentSessions;
const serverSpawn = this.configHelper.config.serverSpawn;
if (!!this._environmentService.remoteAuthority && enableTerminalReconnection && serverSpawn) {
let emptyTab: TerminalTab | undefined;
......
......@@ -138,7 +138,7 @@ export interface ITerminalConfiguration {
typeaheadThreshold: number;
typeaheadStyle: number | string;
serverSpawn: boolean;
enableTerminalReconnection: boolean;
enablePersistentSessions: boolean;
}
export interface ITerminalConfigHelper {
......
......@@ -387,8 +387,8 @@ export const terminalConfiguration: IConfigurationNode = {
type: 'boolean',
default: true
},
'terminal.integrated.enableTerminalReconnection': {
description: localize('terminal.integrated.enableTerminalReconnection', "Experimental: reconnect to terminals when reopening the workspace. Currently only supported in VS Code Remote workspaces."),
'terminal.integrated.enablePersistentSessions': {
description: localize('terminal.integrated.enablePersistentSessions', "Experimental: persist terminal sessions for the workspace across window reloads. Currently only supported in VS Code Remote workspaces."),
type: 'boolean',
default: true
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册