Properly support splitting ext profiles

This commit is contained in:
Daniel Imms
2021-05-26 11:48:32 -07:00
parent 08cf3df745
commit 5eddbd9d20
3 changed files with 14 additions and 9 deletions

View File

@@ -214,7 +214,7 @@ export class MainThreadTerminalService implements MainThreadTerminalServiceShape
public $registerProfileProvider(id: string): void {
// Proxy profile provider requests through the extension host
this._profileProviders.set(id, this._terminalService.registerTerminalProfileProvider(id, {
createContributedTerminalProfile: async () => this._proxy.$createContributedProfileTerminal(id)
createContributedTerminalProfile: async (isSplitTerminal) => this._proxy.$createContributedProfileTerminal(id, isSplitTerminal)
}));
}