Skip to content

Commit fcc2290

Browse files
author
Kartik Raj
authored
Merge pull request microsoft#180903 from microsoft/kartik/updatestatus
2 parents 326dc5a + 31f513a commit fcc2290

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/vs/workbench/contrib/terminal/browser/terminalStatusList.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,11 @@ export class TerminalStatusList extends Disposable implements ITerminalStatusLis
9595
if (oldPrimary !== newPrimary) {
9696
this._onDidChangePrimaryStatus.fire(newPrimary);
9797
}
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);
98103
}
99104
}
100105

0 commit comments

Comments
 (0)