MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getSelectionPosition

Method getSelectionPosition

src/server/web/public/terminal.js:689–691  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

687 return this._selectionService ? this._selectionService.selectionText : "";
688 }
689 getSelectionPosition() {
690 if (this._selectionService && this._selectionService.hasSelection) return { start: { x: this._selectionService.selectionStart[0], y: this._selectionService.selectionStart[1] }, end: { x: this._selectionService.selectionEnd[0], y: this._selectionService.selectionEnd[1] } };
691 }
692 clearSelection() {
693 var _a;
694 (_a = this._selectionService) == null ? void 0 : _a.clearSelection();

Callers 3

getSelectionPositionMethod · 0.45
_findNextAndSelectMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected