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

Method _handleSingleClick

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

Source from the content-addressed store, hash-verified

2122 this._model.selectionStart && (this._model.selectionEnd = this._getMouseBufferCoords(e3));
2123 }
2124 _handleSingleClick(e3) {
2125 if (this._model.selectionStartLength = 0, this._model.isSelectAllActive = false, this._activeSelectionMode = this.shouldColumnSelect(e3) ? 3 : 0, this._model.selectionStart = this._getMouseBufferCoords(e3), !this._model.selectionStart) return;
2126 this._model.selectionEnd = void 0;
2127 const t3 = this._bufferService.buffer.lines.get(this._model.selectionStart[1]);
2128 t3 && t3.length !== this._model.selectionStart[0] && 0 === t3.hasWidth(this._model.selectionStart[0]) && this._model.selectionStart[0]++;
2129 }
2130 _handleDoubleClick(e3) {
2131 this._selectWordAtCursor(e3, true) && (this._activeSelectionMode = 1);
2132 }

Callers 1

handleMouseDownMethod · 0.80

Calls 4

shouldColumnSelectMethod · 0.80
_getMouseBufferCoordsMethod · 0.80
hasWidthMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected