Skip to content

Commit

Permalink
Merge pull request #180903 from microsoft/kartik/updatestatus
Browse files Browse the repository at this point in the history
  • Loading branch information
Kartik Raj authored Apr 26, 2023
2 parents 326dc5a + 31f513a commit fcc2290
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,11 @@ export class TerminalStatusList extends Disposable implements ITerminalStatusLis
if (oldPrimary !== newPrimary) {
this._onDidChangePrimaryStatus.fire(newPrimary);
}
} else {
this._statuses.set(status.id, status);
// It maybe the case that status hasn't changed, there isn't a good way to check this based on
// `ITerminalStatus`, so just fire the event anyway.
this._onDidAddStatus.fire(status);
}
}

Expand Down

0 comments on commit fcc2290

Please sign in to comment.