Rename new terminal setting
This commit is contained in:
parent
5572cbf5c5
commit
4edcd16944
4 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue