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:
Daniel Imms
2016-09-01 14:00:10 -07:00
parent aae56e2010
commit 7bd499af9b
3 changed files with 6 additions and 16 deletions

View File

@@ -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);
}
}