mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
Merge pull request #180903 from microsoft/kartik/updatestatus
This commit is contained in:
commit
fcc2290dbb
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue