src/vs/workbench/contrib/terminal/browser/terminalInstance.ts/TerminalInstance/_refreshSelectionContextKey
class TerminalInstance:	private _refreshSelectionContextKey() {
		const isActive = !!this._viewsService.getActiveViewWithId(TERMINAL_VIEW_ID);
		this._terminalHasTextContextKey.set(isActive && this.hasSelection());
	}