src/vs/platform/terminal/node/ptyService.ts/PersistentTerminalProcess/setIcon
class PersistentTerminalProcess:	setIcon(icon: TerminalIcon, color?: string): void {
		if (!this._icon || 'id' in icon && 'id' in this._icon && icon.id !== this._icon.id ||
			!this.color || color !== this._color) {

			this._serializer.freeRawReviveBuffer();
			this._interactionState = InteractionState.Session;
		}
		this._icon = icon;
		this._color = color;
	}