mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
Starting API
This commit is contained in:
20
src/vs/workbench/api/node/mainThreadTerminalService.ts
Normal file
20
src/vs/workbench/api/node/mainThreadTerminalService.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
'use strict';
|
||||
|
||||
import {ITerminalService} from 'vs/workbench/parts/terminal/electron-browser/terminal';
|
||||
import {MainThreadTerminalServiceShape} from './extHost.protocol';
|
||||
|
||||
export class MainThreadTerminalService extends MainThreadTerminalServiceShape {
|
||||
|
||||
private _terminalService: ITerminalService;
|
||||
|
||||
constructor(
|
||||
@ITerminalService terminalService: ITerminalService
|
||||
) {
|
||||
super();
|
||||
this._terminalService = terminalService;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user