diff --git a/src/vs/workbench/contrib/terminal/common/remoteTerminalChannel.ts b/src/vs/workbench/contrib/terminal/common/remoteTerminalChannel.ts index 1844ff66f35..302ae7aaebd 100644 --- a/src/vs/workbench/contrib/terminal/common/remoteTerminalChannel.ts +++ b/src/vs/workbench/contrib/terminal/common/remoteTerminalChannel.ts @@ -254,11 +254,11 @@ export class RemoteTerminalChannelClient { } updateTitle(id: number, title: string): Promise { - return this._channel.call('$updateTitle', { id, title }); + return this._channel.call('$updateTitle', [id, title]); } updateIcon(id: number, icon: string): Promise { - return this._channel.call('$updateIcon', { id, icon }); + return this._channel.call('$updateIcon', [id, icon]); } getTerminalLayoutInfo(): Promise {