MCPcopy
hub / github.com/codeaashu/claude-code / rightClickSelect

Method rightClickSelect

src/server/web/public/terminal.js:2192–2194  ·  view source on GitHub ↗
(e3)

Source from the content-addressed store, hash-verified

2190 this._model.clearSelection(), this._removeMouseDownListeners(), this._model.selectionStart = [e3, t3], this._model.selectionStartLength = i3, this.refresh(), this._fireEventIfSelectionChanged();
2191 }
2192 rightClickSelect(e3) {
2193 this._isClickInSelection(e3) || (this._selectWordAtCursor(e3, false) && this.refresh(true), this._fireEventIfSelectionChanged());
2194 }
2195 _getWordAt(e3, t3, i3 = true, s3 = true) {
2196 if (e3[0] >= this._bufferService.cols) return;
2197 const r2 = this._bufferService.buffer, n2 = r2.lines.get(e3[1]);

Calls 4

_isClickInSelectionMethod · 0.80
_selectWordAtCursorMethod · 0.80
refreshMethod · 0.45

Tested by

no test coverage detected