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 326dc5a + 31f513a commit fcc2290Copy full SHA for fcc2290
src/vs/workbench/contrib/terminal/browser/terminalStatusList.ts
@@ -95,6 +95,11 @@ export class TerminalStatusList extends Disposable implements ITerminalStatusLis
95
if (oldPrimary !== newPrimary) {
96
this._onDidChangePrimaryStatus.fire(newPrimary);
97
}
98
+ } else {
99
+ this._statuses.set(status.id, status);
100
+ // It maybe the case that status hasn't changed, there isn't a good way to check this based on
101
+ // `ITerminalStatus`, so just fire the event anyway.
102
+ this._onDidAddStatus.fire(status);
103
104
105
0 commit comments