diff --git a/lib/vscode/src/vs/server/node/channel.ts b/lib/vscode/src/vs/server/node/channel.ts index 28ca22c5a..1074509ee 100644 --- a/lib/vscode/src/vs/server/node/channel.ts +++ b/lib/vscode/src/vs/server/node/channel.ts @@ -33,6 +33,7 @@ import { TerminalDataBufferer } from 'vs/platform/terminal/common/terminalDataBu import * as terminalEnvironment from 'vs/workbench/contrib/terminal/common/terminalEnvironment'; import { getMainProcessParentEnv } from 'vs/workbench/contrib/terminal/node/terminalEnvironment'; import { TerminalProcess } from 'vs/platform/terminal/node/terminalProcess'; +import { ISetTerminalLayoutInfoArgs, IGetTerminalLayoutInfoArgs } from 'vs/platform/terminal/common/terminalProcess' import { AbstractVariableResolverService } from 'vs/workbench/services/configurationResolver/common/variableResolver'; import { ExtensionScanner, ExtensionScannerInput } from 'vs/workbench/services/extensions/node/extensionPoints'; @@ -639,7 +640,7 @@ export class TerminalProviderChannel implements IServerChannel(); private id = 0; - private readonly layouts = new Map(); + private readonly layouts = new Map(); public constructor (private readonly logService: ILogService) { @@ -876,11 +877,11 @@ export class TerminalProviderChannel implements IServerChannel t.isOrphan); } - public async setTerminalLayoutInfo(args: terminal.ISetTerminalLayoutInfoArgs): Promise { + public async setTerminalLayoutInfo(args: ISetTerminalLayoutInfoArgs): Promise { this.layouts.set(args.workspaceId, args); } - public async getTerminalLayoutInfo(args: terminal.IGetTerminalLayoutInfoArgs): Promise { + public async getTerminalLayoutInfo(args: IGetTerminalLayoutInfoArgs): Promise { const layout = this.layouts.get(args.workspaceId); if (!layout) { return undefined;