mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-13 21:47:12 -05:00
Merge pull request #180903 from microsoft/kartik/updatestatus
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user