src/vs/workbench/contrib/terminal/browser/terminalInstance.ts/TerminalOutputProvider/provideTextContent
class TerminalOutputProvider:	async provideTextContent(resource: URI): Promise<ITextModel | null> {
		const existing = this._modelService.getModel(resource);
		if (existing && !existing.isDisposed()) {
			return existing;
		}

		return this._modelService.createModel(resource.fragment, null, resource, false);
	}