mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 10:38:59 +01:00
Progress on Terminal.show API
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user