src/vs/workbench/contrib/terminal/browser/terminalStatusList.ts/TerminalStatusList/primary
class TerminalStatusList:	get primary(): ITerminalStatus | undefined {
		let result: ITerminalStatus | undefined;
		for (const s of this._statuses.values()) {
			if (!result || s.severity >= result.severity) {
				result = s;
			}
		}
		return result;
	}