mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 18:19:12 +01:00
Revert "Use a config interface for terminal creation in API"
We're sticking with simple for now, an overload can be used if a config object
is necessary later.
This reverts commit 873b3d0b38.
This commit is contained in:
@@ -85,8 +85,8 @@ export class ExtHostTerminalService {
|
||||
this._proxy = threadService.get(MainContext.MainThreadTerminalService);
|
||||
}
|
||||
|
||||
public createTerminal(configuration: vscode.TerminalConfiguration): vscode.Terminal {
|
||||
return new ExtHostTerminal(this._proxy, -1, configuration.name);
|
||||
public createTerminal(name?: string): vscode.Terminal {
|
||||
return new ExtHostTerminal(this._proxy, -1, name);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user