src/vs/workbench/contrib/terminal/browser/terminalEditorService.ts/TerminalEditorService/getInputFromResource
class TerminalEditorService:	getInputFromResource(resource: URI): TerminalEditorInput {
		const input = this._editorInputs.get(resource.path);
		if (!input) {
			throw new Error(`Could not get input from resource: ${resource.path}`);
		}
		return input;
	}