src/vs/workbench/api/common/extHostTerminalService.ts/BaseExtHostTerminalService/$acceptTerminalInteraction
class BaseExtHostTerminalService:	public $acceptTerminalInteraction(id: number): void {
		const terminal = this._getTerminalById(id);
		if (terminal?.setInteractedWith()) {
			this._onDidChangeTerminalState.fire(terminal.value);
		}
	}