src/vs/workbench/contrib/terminal/browser/terminalIcon.ts/getIconId
export function getIconId(terminal: ITerminalInstance): string {
	if (!terminal.icon || (terminal.icon instanceof Object && !('id' in terminal.icon))) {
		return Codicon.terminal.id;
	}
	return terminal.icon.id;
}