MCPcopy Create free account
hub / github.com/codeaashu/claude-code / _fireOnSelectionChange

Method _fireOnSelectionChange

src/server/web/public/terminal.js:2175–2177  ·  view source on GitHub ↗
(e3, t3, i3)

Source from the content-addressed store, hash-verified

2173 i3 ? e3 && t3 && (this._oldSelectionStart && this._oldSelectionEnd && e3[0] === this._oldSelectionStart[0] && e3[1] === this._oldSelectionStart[1] && t3[0] === this._oldSelectionEnd[0] && t3[1] === this._oldSelectionEnd[1] || this._fireOnSelectionChange(e3, t3, i3)) : this._oldHasSelection && this._fireOnSelectionChange(e3, t3, i3);
2174 }
2175 _fireOnSelectionChange(e3, t3, i3) {
2176 this._oldSelectionStart = e3, this._oldSelectionEnd = t3, this._oldHasSelection = i3, this._onSelectionChange.fire();
2177 }
2178 _handleBufferActivate(e3) {
2179 this.clearSelection(), this._trimListener.dispose(), this._trimListener = e3.activeBuffer.lines.onTrim(((e4) => this._handleTrim(e4)));
2180 }

Callers 1

Calls 1

fireMethod · 0.80

Tested by

no test coverage detected