mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
Add shellPath to allow user specify preferred shell. Fix #10917
This commit is contained in:
@@ -19,8 +19,8 @@ export class MainThreadTerminalService extends MainThreadTerminalServiceShape {
|
||||
this._terminalService = terminalService;
|
||||
}
|
||||
|
||||
public $createTerminal(name?: string): TPromise<number> {
|
||||
return this._terminalService.createNew(name);
|
||||
public $createTerminal(name?: string, shellPath?: string): TPromise<number> {
|
||||
return this._terminalService.createNew(name, shellPath);
|
||||
}
|
||||
|
||||
public $show(terminalId: number, preserveFocus: boolean): void {
|
||||
|
||||
Reference in New Issue
Block a user