Skip to content

Commit 2605017

Browse files
committed
Remove unused remote env var
1 parent 761cd41 commit 2605017

File tree

4 files changed

+3
-7
lines changed

4 files changed

+3
-7
lines changed

src/vs/code/electron-main/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -931,7 +931,7 @@ export class CodeApplication extends Disposable {
931931
graceTime: LocalReconnectConstants.GraceTime,
932932
shortGraceTime: LocalReconnectConstants.ShortGraceTime,
933933
scrollback: this.configurationService.getValue<number>(TerminalSettingId.PersistentSessionScrollback) ?? 100
934-
}, false, this.environmentMainService);
934+
}, this.environmentMainService);
935935
const ptyHostService = new PtyHostService(
936936
ptyHostStarter,
937937
this.configurationService,

src/vs/platform/terminal/electron-main/electronPtyHostStarter.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,12 @@ export class ElectronPtyHostStarter implements IPtyHostStarter {
1818

1919
constructor(
2020
private readonly _reconnectConstants: IReconnectConstants,
21-
private readonly _isRemote: boolean,
2221
@IEnvironmentService private readonly _environmentService: INativeEnvironmentService
2322
) {
2423
}
2524

2625
start(lastPtyId: number): IPtyHostConnection {
27-
return new NodePtyHostStarter(this._reconnectConstants, this._isRemote, this._environmentService).start(lastPtyId);
26+
return new NodePtyHostStarter(this._reconnectConstants, this._environmentService).start(lastPtyId);
2827

2928
// console.log('use utility proc');
3029

src/vs/platform/terminal/node/nodePtyHostStarter.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import { IPtyHostConnection, IPtyHostStarter } from 'vs/platform/terminal/node/p
1313
export class NodePtyHostStarter implements IPtyHostStarter {
1414
constructor(
1515
private readonly _reconnectConstants: IReconnectConstants,
16-
private readonly _isRemote: boolean,
1716
@IEnvironmentService private readonly _environmentService: INativeEnvironmentService
1817
) {
1918
}
@@ -24,7 +23,6 @@ export class NodePtyHostStarter implements IPtyHostStarter {
2423
args: ['--type=ptyHost', '--logsPath', this._environmentService.logsHome.fsPath],
2524
env: {
2625
VSCODE_LAST_PTY_ID: lastPtyId,
27-
VSCODE_PTY_REMOTE: this._isRemote,
2826
VSCODE_AMD_ENTRYPOINT: 'vs/platform/terminal/node/ptyHostMain',
2927
VSCODE_PIPE_LOGGING: 'true',
3028
VSCODE_VERBOSE_LOGGING: 'true', // transmit console logs from server to client,

src/vs/server/node/serverServices.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,7 @@ export async function setupServerServices(connectionToken: ServerConnectionToken
197197
graceTime: ProtocolConstants.ReconnectionGraceTime,
198198
shortGraceTime: ProtocolConstants.ReconnectionShortGraceTime,
199199
scrollback: configurationService.getValue<number>(TerminalSettingId.PersistentSessionScrollback) ?? 100
200-
},
201-
true
200+
}
202201
);
203202
const ptyService = instantiationService.createInstance(PtyHostService, ptyHostStarter);
204203
services.set(IPtyService, ptyService);

0 commit comments

Comments
 (0)