Progress on Terminal.show API

This commit is contained in:
Daniel Imms
2016-08-16 08:14:58 -07:00
parent d464fdc609
commit ab96b1918d
9 changed files with 87 additions and 17 deletions

View File

@@ -17,4 +17,12 @@ export class MainThreadTerminalService extends MainThreadTerminalServiceShape {
super();
this._terminalService = terminalService;
}
public $createTerminal(name?: string): void {
this._terminalService.createNew();
}
public $show(terminalId: number, preserveFocus: boolean): void {
this._terminalService.show(!preserveFocus, terminalId);
}
}