src/vs/platform/terminal/node/ptyService.ts/PersistentTerminalProcess/setTitle
class PersistentTerminalProcess:	setTitle(title: string, titleSource: TitleEventSource): void {
		if (titleSource === TitleEventSource.Api) {
			this._interactionState = InteractionState.Session;
			this._serializer.freeRawReviveBuffer();
		}
		this._title = title;
		this._titleSource = titleSource;
	}