src/vs/workbench/contrib/terminal/browser/terminalInstance.ts/TerminalInstance/_onSelectionChange
class TerminalInstance:	private async _onSelectionChange(): Promise<void> {
		if (this._configurationService.getValue(TerminalSettingId.CopyOnSelection)) {
			if (this.hasSelection()) {
				await this.copySelection();
			}
		}
	}