We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c7119ae + 098c99e commit 5e6379fCopy full SHA for 5e6379f
src/vs/workbench/contrib/terminal/browser/terminalInstance.ts
@@ -281,6 +281,12 @@ export class TerminalInstance extends Disposable implements ITerminalInstance {
281
this._terminalProfileResolverService.resolveIcon(this._shellLaunchConfig, OS);
282
}
283
284
+ // When a custom pty is used set the name immediately so it gets passed over to the exthost
285
+ // and is available when Pseudoterminal.open fires.
286
+ if (this.shellLaunchConfig.customPtyImplementation) {
287
+ this.setTitle(this._shellLaunchConfig.name, TitleEventSource.Api);
288
+ }
289
+
290
this._initDimensions();
291
this._createProcessManager();
292
0 commit comments