Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
meganrogge committed Feb 1, 2022
1 parent 610db47 commit 65c9f30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vs/workbench/contrib/terminal/browser/terminalInstance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ export class TerminalInstance extends Disposable implements ITerminalInstance {
this.capabilities.get(TerminalCapability.CwdDetection)?.onDidChangeCwd((e) => {
this._cwd = e;
this._xtermOnKey?.dispose();
this.refreshTabLabels(this.title, TitleEventSource.Api);
this.refreshTabLabels(this.title, TitleEventSource.Config);
});
}
}));
Expand Down Expand Up @@ -1258,7 +1258,7 @@ export class TerminalInstance extends Disposable implements ITerminalInstance {
case ProcessPropertyType.InitialCwd:
this._initialCwd = value;
this._cwd = this._initialCwd;
this.refreshTabLabels(this.title, TitleEventSource.Api);
this.refreshTabLabels(this.title, TitleEventSource.Config);
break;
case ProcessPropertyType.Title:
this.refreshTabLabels(value ? value : '', TitleEventSource.Process);
Expand Down

0 comments on commit 65c9f30

Please sign in to comment.