提交 2cf97fc2 编写于 作者: J Johannes Rieken

add service brand to terminal service

上级 5fa6084d
...@@ -11,6 +11,8 @@ import { createDecorator } from 'vs/platform/instantiation/common/instantiation' ...@@ -11,6 +11,8 @@ import { createDecorator } from 'vs/platform/instantiation/common/instantiation'
export interface IExtHostTerminalService extends ExtHostTerminalServiceShape { export interface IExtHostTerminalService extends ExtHostTerminalServiceShape {
_serviceBrand: any;
activeTerminal: vscode.Terminal | undefined; activeTerminal: vscode.Terminal | undefined;
terminals: vscode.Terminal[]; terminals: vscode.Terminal[];
......
...@@ -199,6 +199,9 @@ export class ExtHostTerminal extends BaseExtHostTerminal implements vscode.Termi ...@@ -199,6 +199,9 @@ export class ExtHostTerminal extends BaseExtHostTerminal implements vscode.Termi
} }
export class ExtHostTerminalService implements IExtHostTerminalService, ExtHostTerminalServiceShape { export class ExtHostTerminalService implements IExtHostTerminalService, ExtHostTerminalServiceShape {
readonly _serviceBrand: any;
private _proxy: MainThreadTerminalServiceShape; private _proxy: MainThreadTerminalServiceShape;
private _activeTerminal: ExtHostTerminal | undefined; private _activeTerminal: ExtHostTerminal | undefined;
private _terminals: ExtHostTerminal[] = []; private _terminals: ExtHostTerminal[] = [];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册